/* ================================================
   KYC Member Login Page - Custom Styles
   File: wc_templates/login.css
   ================================================ */


/* --- Hide stray Buz-injected elements only --- */
.content__item article > h2.title,
.content__item article > p:first-child {
    display: none;
}


/* --- Space around the card --- */
.content__item article {
    padding: 30px 0 40px;
}


/* --- Intro text above the card --- */
.Signin-customtext {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 16px;
    max-width: 450px;
    margin:auto;
    text-align:center;
}

.Signin-customtext a {
    color: #1a3a5c;
    text-decoration: underline;
}


/* --- Login card --- */
.Signin-div {
    width: 100% !important;
    max-width: 340px;
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 32px 30px 22px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
    box-sizing: border-box;
    margin: 10px auto 0 !important;
}


/* --- Form --- */
#loginform {
    margin-left: 0 !important;
}


/* --- Labels --- */
#loginform label {
    font-size: 12px !important;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    display: block;
}


/* --- Inputs --- */
#user_login,
#user_pass {
    font-size: 14px !important;
    width: 100% !important;
    padding: 9px 10px !important;
    margin-top: 4px !important;
    margin-bottom: 14px !important;
    margin-right: 0 !important;
    border: 1px solid #c8d0d8;
    border-radius: 5px;
    box-sizing: border-box;
    background: #f9fafc;
    color: #222;
    transition: border-color 0.2s;
}

#user_login:focus,
#user_pass:focus {
    border-color: #1a3a5c;
    outline: none;
    background: #ffffff;
}


/* --- Password field + eye icon --- */
#loginform p:has(#user_pass) {
    position: relative;
    margin-bottom: 4px;
}

#user_pass {
    padding-right: 36px !important;
}

#togglePassword {
    position: absolute;
    right: 10px;
    bottom: 22px;
    margin: 0 !important;
    cursor: pointer;
    color: #888;
    font-size: 15px;
    transition: color 0.2s;
}

#togglePassword:hover {
    color: #1a3a5c;
}


/* --- Remember Me --- */
#loginform .forgetmenot {
    float: none !important;
    margin-bottom: 16px !important;
}

#loginform .forgetmenot label {
    font-weight: normal !important;
    font-size: 12px !important;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    color: #444;
}

#loginform .forgetmenot input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #1a3a5c;
}


/* --- Login button --- */
.loginsubmit {
    float: none !important;
    margin: 0 0 16px !important;
}

#submit_but {
    width: 100%;
    background-color: #1a3a5c;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background-color 0.2s;
}

#submit_but:hover {
    background-color: #14304f;
}


/* --- Reset password link --- */
#nav {
    margin: 10px 0 0 0 !important;
    padding: 0 !important;
    text-align: center;
}

#nav a {
    font-size: 12px;
    color: #666;
    text-decoration: underline;
}

#nav a:hover {
    color: #1a3a5c;
}


/* --- Mobile --- */
@media (max-width: 480px) {
    .Signin-div {
        border-radius: 8px !important;
        padding: 24px 20px 18px !important;
    }
}


/* ================================================
   Forgot Password Page
   Target: forgotpassword.cfm
   ================================================ */

/* Intro paragraph above the form */
.content__item article > div > p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    max-width: 340px;
    margin: auto;
}

/* Strip the table layout */
#loginform table {
    width: 100%;
    border: none;
}

#loginform table tr {
    display: block;
    margin-bottom: 14px;
}

#loginform table td {
    display: block;
    padding: 0;
}

/* Email label */
#loginform table td p {
    font-size: 12px !important;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px;
}

/* Email input */
#loginform input[name="FindEmail"] {
    font-size: 14px;
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #c8d0d8;
    border-radius: 5px;
    box-sizing: border-box;
    background: #f9fafc;
    color: #222;
    transition: border-color 0.2s;
}

#loginform input[name="FindEmail"]:focus {
    border-color: #1a3a5c;
    outline: none;
    background: #ffffff;
}

/* Find Me button */
#loginform input[name="Submit"] {
    width: 100%;
    background-color: #1a3a5c;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background-color 0.2s;
}

#loginform input[name="Submit"]:hover {
    background-color: #14304f;
}


/* ================================================
   Password Reset Page
   Target: passwordreset.cfm
   ================================================ */

/* Page heading */
p.SpecialHeader {
    font-size: 18px;
    font-weight: 600;
    color: #1a3a5c;
    margin: 0 0 20px;
    text-align:center;
}

/* Wrap the whole form in a card like the other pages */
#CFForm_1 > div[style] {
    padding: 0 !important;
    width: 100%;
    max-width: 340px;
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 30px 22px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
    box-sizing: border-box;
    margin: 0 auto;
}

/* Convert float-based label/input rows to block layout */
#CFForm_1 .Left {
    float: none !important;
    display: block;
    width: 100% !important;
}

/* Labels */
#CFForm_1 .Left:not(:has(input)) {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-top: 14px;
    margin-bottom: 4px;
}

/* Inputs */
#CFForm_1 input[type="password"] {
    font-size: 14px;
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #c8d0d8;
    border-radius: 5px;
    box-sizing: border-box;
    background: #f9fafc;
    color: #222;
    transition: border-color 0.2s;
}

#CFForm_1 input[type="password"]:focus {
    border-color: #1a3a5c;
    outline: none;
    background: #ffffff;
}

/* Password checker validation messages */
#passwordchecker_container {
    margin-top: 16px;
    font-size: 13px;
    color: #555;
    line-height: 2;
}

#passwordchecker_container .text-success {
    color: #2e7d32;
}

#passwordchecker_container .text-danger {
    color: #c62828;
}

/* Match/score summary messages */
#password_score_string,
#password_match_string {
    margin-top: 8px;
    font-weight: 600;
    font-size: 13px;
}

/* Reset Password button */
#CFForm_1 input#submit {
    width: 100%;
    background-color: #1a3a5c;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background-color 0.2s;
    margin-top: 20px !important;
}

#CFForm_1 input#submit:hover:not(:disabled) {
    background-color: #14304f;
}

#CFForm_1 input#submit:disabled {
    background-color: #a0aab4;
    cursor: not-allowed;
} 