html::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-top: 0 !important;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

*{
    font-family: "Segoe UI";
}

.pcab-login-wrapper{
    background-image: url('/custom_login/static/src/img/bg-login.png') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
}

/* Hide reset password link */
a[href*="/web/reset_password"]:last-child {
    display: none !important;
    /* display: block !important; */
}

a[href*="/web/reset_password"]:first-child {
    /* display: none !important; */
    display: block !important;
}

/* Hide dont have account link */
div.justify-content-between>a[href*="/web/signup"]:first-child {
    display: none !important;
}

/* PCAB Main Header */
.pcab-main-header {
    background-color: transparent;
    padding: 1rem ;
    top: 0;
    z-index: 1000;
    flex: 0 0 auto;
    height: 80px;
}

.pcab-header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5rem;
}

.pcab-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.pcab-logo-img {
    height: 30px;
    width: auto;
}

.pcab-header-title {
    color: white;
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    flex-grow: 1;
    text-align: start;
}

.pcab-header-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pcab-header-link {
    color: white;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.submit-btn{
    border: 1px solid white;
    border-radius: 5px;
    padding: 5px 15px;
}

/* Main container */
.login-full-width {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    overflow: hidden;
}

.pcab-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #f8f9fa; 
}

.pcab-login-card {
    background: #fff;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: clamp(1px, 80vw, 420px);
}

.pcab-login-title {
    color: #243E7D;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    font-family: "Segoe UI";
}

.pcab-form-group {
    margin-bottom: 25px;
}

.pcab-input-label {
    display: block;
    color: #141414;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 12px;
}

.pcab-input-field {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 12px;
    transition: all 0.3s ease;
    width: 100%;
}

.pcab-input-field:focus {
    border-color: #1a3e72;
    box-shadow: 0 0 0 3px rgba(26, 62, 114, 0.1);
}

.pcab-show-password {
    border: 1px solid #e2e8f0;
    border-left: none;
    background-color: #f8fafc;
    color: #4a5568;
    padding: 0 15px;
    transition: all 0.3s ease;
}

.pcab-show-password:hover {
    background-color: #f1f5f9;
    color: #243E7D;
}

.pcab-login-btn {
    background-color: #0D6EFD;
    color: white;
    border: none;
    padding: 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 12px;
    margin-top: 10px;
    transition: all 0.3s ease;
    width: 100%;
}

/* Sign Up Link */
.pcab-signup-link {
    text-align: center;
    margin-top: 20px;
    color: #323232;
    font-size: 12px;
}

.pcab-signup-link a {
    color: #243E7D;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pcab-signup-link a:hover {
    text-decoration: underline;
}

.pcab-password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.pcab-password-input {
    padding-right: 70px; 
}

.pcab-password-toggle {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: #1a3e72;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    padding: 0 8px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.pcab-password-toggle:hover {
    color: #0f2a4d;
}

.pcab-password-toggle:focus {
    outline: none;
    box-shadow: none;
}

.pcab-signup-link {
    margin-top: 0 !important;
}

.pcab-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.pcab-input-icon {
    position: absolute;
    left: 12px;
    color: #1a3e72; 
    z-index: 2;
}

.pcab-input-field {
    padding-left: 50px !important;
    position: relative;
}

.pcab-input-line {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 1px;
    background-color: #e2e8f0; 
}

.pcab-show-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #0d6efd ;
    font-weight: 500;
    cursor: pointer;
    z-index: 2;
}

.pcab-input-field:focus {
    border-color: #1a3e72;
}

.pcab-input-field:focus + .pcab-input-line {
    background-color: #1a3e72;
}

/* PCAB Main Footer */
.pcab-main-footer {
    background-color: #243E7D;
    padding: 2rem 5rem;
    color: white;
    font-size: 12px;
    line-height: 1.6;
}

.pcab-footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5rem;
}

.pcab-footer-section {
    margin-bottom: 2rem;
}

.pcab-footer-heading {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.pcab-download-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pcab-download-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.pcab-about-content p {
    margin-bottom: 1rem;
}

.pcab-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pcab-contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.pcab-list-icon {
    color: #1a3e72;
    width: 20px;
    margin-right: 12px;
    text-align: center;
    font-size: 1rem;
}

.pcab-footer-separator {
    height: 1px;
    background-color: #e2e8f0;
    margin: 1.5rem 0;
}

.pcab-footer-copyright {
    text-align: end;
    color: white;
    font-size: 12px;
    padding-top: 1rem;
}

.pcab-mob-footer{
    display: none;
}

.pcab-forgot-password {
    color: #1a3e72;
    text-decoration: none;
}

/* Responsive Layout */
@media (max-width: 767px) {
    .pcab-header-container {
        padding: 0 1rem;
    }
    
    .pcab-header-title {
       font-size: clamp(1px, 3.25vw, 48px) !important;
    }

    .pcab-header-links {
        margin-left: auto;
    }

    .pcab-logo-img {
        height: clamp(1px, 10vw, 80px);
        width: auto;
    }

    .verify-btn{
        display: none;
    }

    .submit-btn {
        font-size: clamp(1px, 3.25vw, 48px) !important;
        border-radius: 10px;
    }
    
    .newline {
        display: block;
    }   

    .pcab-main-footer {
        display: none !important;
    }

    .pcab-mob-footer {
        display: block;
        background-color: #243E7D;
        padding: 1rem;
    }

    .pcab-footer-copyright {
        text-align: center;
        color: white;
        font-size: 12px;
        padding-top: 0;
    }

}

/* Forgot Password Page */

/* Custom Reset Password Page Styles */
.custom-reset-form {
    max-width: 467px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.reset-password-container {
    display: flex;
    flex-direction: column;
}

.reset-title {
    font-size: 18px;
    font-weight: 600;
    color: #141414;
    margin-bottom: 0.5rem;
    text-align: left;
}

.reset-instructions {
    color: #141414;
    text-align: left;
    font-size: 12px;
}

.section-title {
    font-size: 12px;
    font-weight: 600;
    color: #141414;
}

.email-input-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.email-input {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
    transition: border-color 0.3s ease;
}

.email-input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.email-note {
    color: #323232;
    font-size: 10px;
}

.button-group {
    display: flex;
    justify-content: space-between;
}

.btn-cancel, .btn-continue {
    padding: 0.5rem 4.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-cancel {
    background-color: #fff;
    color: #0D6EFD;
    border: 1px solid #0D6EFD;
    text-decoration: none;
}

.btn-cancel:hover {
    color: #0D6EFD;
    text-decoration: none;
}

.btn-continue {
    background-color: #0D6EFD;
    color: white;
    border: 1px solid #0D6EFD;
}

.btn-reset-password {
    background-color: #0D6EFD;
    color: white;
    border: 1px solid #0D6EFD;
    padding: 0.5rem 9.9rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .custom-reset-form {
        padding: 1.5rem;
    }
    
    .button-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-cancel, .btn-continue {
        width: 100%;
    }
}