/* _content/DW.Safer.Portal.Web/Components/Popups/EmailInputModal.razor.rz.scp.css */
/* EmailInputModal.razor.css */

.email-input-modal[b-mxpt8vl2gs] {
    min-width: 400px;
    max-width: 500px;
}

.modal-message[b-mxpt8vl2gs] {
    margin-bottom: 1.5rem;
    color: #6c757d;
    line-height: 1.5;
}

.form-group[b-mxpt8vl2gs] {
    margin-bottom: 1.5rem;
}

.form-label[b-mxpt8vl2gs] {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.email-input[b-mxpt8vl2gs] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.email-input:focus[b-mxpt8vl2gs] {
    outline: 0;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.email-input:invalid[b-mxpt8vl2gs] {
    border-color: #dc3545;
}

.error-message[b-mxpt8vl2gs] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.modal-buttons[b-mxpt8vl2gs] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn[b-mxpt8vl2gs] {
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
}

.btn:disabled[b-mxpt8vl2gs] {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-secondary[b-mxpt8vl2gs] {
    color: #6c757d;
    background-color: #f8f9fa;
    border-color: #6c757d;
}

.btn-secondary:hover:not(:disabled)[b-mxpt8vl2gs] {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-primary[b-mxpt8vl2gs] {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover:not(:disabled)[b-mxpt8vl2gs] {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-primary:disabled[b-mxpt8vl2gs] {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
/* _content/DW.Safer.Portal.Web/Components/Popups/Popup.razor.rz.scp.css */
/* Popup.razor.css */

/* The semi-transparent background overlay */
.popup-overlay[b-5ln2pr20i1] {
    position: fixed; /* Position relative to the viewport */
    inset: 0; /* Equivalent to top: 0; left: 0; right: 0; bottom: 0; */
    background-color: rgba(0, 0, 0, 0.6); /* Dark semi-transparent background */
    z-index: 1050; /* Ensure it's on top (adjust as needed, Bootstrap modal uses 1050) */
    /* --- Centering using Flexbox --- */
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    /* --- End Centering --- */
    /* Optional: Add transitions for fade-in/out */
    opacity: 1;
    transition: opacity 0.15s linear;
}

/* The actual popup box containing the content */
.popup-content[b-5ln2pr20i1] {
    position: relative; /* Needed for absolute positioning of the close button */
    background-color: #fff;
    padding: 40px; /* Padding inside the popup */
    border-radius: 0.5rem; /* Rounded corners */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Drop shadow */
    z-index: 1051; /* Must be higher than the overlay */
    /* --- Size Constraints --- */
    max-width: 90%; /* Don't allow it to exceed 90% of viewport width */
    max-height: 90vh; /* Don't allow it to exceed 90% of viewport height */
    overflow-y: auto; /* Add scrollbar if content overflows vertically */
    width: auto; /* Adjust width based on content, up to max-width */
    min-width: 300px; /* Optional: ensure a minimum width */
}

/* Style for the optional close button */
.popup-close-button[b-5ln2pr20i1] {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    color: #555;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease-in-out;
}

    .popup-close-button:hover[b-5ln2pr20i1] {
        opacity: 1;
        color: #000;
    }


/* Optional: Animation if popup is hidden/shown dynamically */
/* Needs more complex handling with visibility/display changes */
/*.popup-overlay:not(.visible) {
    opacity: 0;
    pointer-events: none;
}*/


/* Add styles for title */
.popup-title[b-5ln2pr20i1] {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #333; /* Adjust color */
}

.popup-title-hr[b-5ln2pr20i1] {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0,0,0,.1);
}
