/* FEP Dentist/Provider Portal - Custom Styles matching dirservices dentist login */

:root {
    --primary-color: #004F71;
    --dark-blue: #032D41;
    --light-blue: #0dcaf0;
    --border-color: #e3e7eb;
    --text-color: #000000;
    --link-color: #004F71;
}

/* Override body styles for dentist portal */
body {
    /*background: #004F71;*/
    font-family: Arial, Verdana, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: block;
}

/* MENU 2: Dark blue header with logos */
#menu2 {
    height: 100px;
    background-color: #032D41;
}

.menu-top {
    height: 100px;
    background-color: #032D41;
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-container img {
    margin-left: 1rem;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    color: transparent !important;
    text-decoration: none;
}

/* MENU 3: Light blue "Welcome" section */
#menu3 {
    height: 410px;
    background-color: #004F71;
    position: relative;
}

/* Horizontal rule line */
#ruleLine {
    background-color: #0dcaf0;
    height: 3px;
    border: none;
    width: 60%;
    max-width: 800px;
}

/* MAIN CONTENT: Overlapping white container */
#maincontent {
    position: absolute;
    top: 350px;
    width: 100%;
    z-index: 2;
    padding-bottom: 2rem;
}

/* LOGIN CONTAINER: White rounded box */
#loginContainer {
    border-radius: 30px;
    background-color: #ffffff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Title and subtitle with exact JSP IDs */
#title {
    color: #004F71;
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
    text-align: center;
}

#allfieldsreq {
    color: #004F71;
    font-style: italic;
    font-size: 0.875rem;
    margin-top: 1rem;
    text-align: left;
}

.auth-title {
    color: #004F71;
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #004F71;
    font-style: italic;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Form layout - two columns */
.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-left {
    padding-right: 2rem;
}

.form-right {
    padding-left: 2rem;
    padding-top: 2rem;
    border-left: 1px solid #e3e7eb;
}

/* Form elements */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #000000;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

.form-input:focus {
    outline: 0;
    border-color: #004F71;
    box-shadow: 0 0 0 0.1rem #004F71 !important;
}

/* Show password toggle */
.password-toggle {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.password-toggle input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.password-toggle label {
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: normal;
}

/* Submit button */
.btn-dark-blue {
    background-color: #032D41;
    border: 1px solid #032D41;
    color: white;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    height: 35px;
    font-weight: normal;
}

.btn-dark-blue:hover {
   border: 2px solid #FFFFFF;
outline: 2px solid #000000;
}

.btn-dark-blue:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Links section */
.form-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0;
}

.form-link {
    color: #004F71;
    text-decoration: underline;
    font-size: 0.875rem;
    display: inline-flex;
    align-self: flex-start;
    padding: 0.2rem 0.5rem;
    border: 0.15rem solid transparent;
    border-radius: 1rem;
}

.form-link:hover {
    outline: 0.15rem solid #032D41;
    border-radius: 1rem;
    background-color: #FBFDFE;
}

/* Info section OUTSIDE white container */
.info-section-outer {
    background: white;
    /*padding: 2rem;*/
    margin-top: 2rem;
}

.info-section-outer ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: #000000;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.info-section-outer li {
    /*margin-bottom: 0.5rem;*/
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 12px;
}

/* Info section (legacy - inside container) */
.info-section {
    margin-top: 2rem;
    padding: 1rem 2rem;
}

.info-section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: #000000;
}

.info-section li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Maintenance message - Pink background, NO border (matching JSP) */
.maintenance-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    /*background-color: #ffeef0;*/
    border: none;
    border-radius: 5px;
    color: #CC0000;
    font-weight: bold;
    font-size: 0.875rem;
}

.maintenance-message p {
    margin: 0;
    color: #CC0000;
}

/* Alert messages */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: center;
}

.alert-error {
    color: #CC0000;
    background-color: #fee;
    border: 1px solid #fcc;
}

.alert-success {
    color: #065f46;
    background-color: #d1fae5;
    border: 1px solid #a7f3d0;
}

/* Footer */
.auth-footer {
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 0.813rem;
    color: #666666;
}

/* MFA Page Wrapper - Full-width white background for select-authenticator */
.mfa-page-wrapper {
    background: white;
    min-height: calc(100vh - 100px);
    padding: 30px 50px;
    padding: 2rem 5%;
}

.mfa-page-wrapper header {
    /*max-width: 800px;*/
    margin: 0 auto 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .form-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-left {
        padding-right: 0;
    }
    
    .form-right {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #e3e7eb;
        padding-top: 1.5rem;
    }
    
    .auth-container {
        padding: 2rem 1.5rem;
        margin-top: -100px;
    }
    
    .header-section {
        min-height: 350px;
    }
}

@media (max-width: 576px) {
    .header-section {
        min-height: 450px;
    }
    
    .auth-container {
        margin-top: -250px;
    }
}
