/* Authentication Pages CSS */

/* Reset some theme styles that might interfere */
body.page-template-auth .site-header,
body.page-template-auth .site-footer,
body.page-template-default .site-header,
body.page-template-default .site-footer,
body.jti-auth-page .site-header,
body.jti-auth-page .site-footer {
    display: none;
}

body.page-template-auth,
body.page-template-default,
body.jti-auth-page {
    margin: 0;
    padding: 0;
    background: #fff;
}

body.jti-auth-page .entry-content {
    margin: 0;
    padding: 0;
    max-width: none;
}

body.jti-auth-page .site-content {
    padding: 0;
}

/* Remove any possible theme container restrictions */
body.jti-auth-page .site,
body.jti-auth-page .site-inner,
body.jti-auth-page .site-content,
body.jti-auth-page .content-area,
body.jti-auth-page main {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.jti-auth-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

.jti-auth-image-section {
    flex: 0 0 50%;
    background-image: url('../images/auth-background.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
}


.jti-auth-form-section {
    flex: 0 0 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.jti-auth-container {
    width: 100%;
    max-width: 400px;
}

.jti-auth-header {
    margin-bottom: 40px;
}

.jti-auth-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.jti-auth-header p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0F1F2D;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    height: 40px;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #6B7986;
    border-radius: 0;
    font-size: 14px;
    color: #000;
    background: transparent;
    transition: all 0.2s ease;
    box-sizing: border-box;
    box-shadow: none;
}

.form-group input::placeholder {
    color: #999;
}

.form-group input:focus {
    outline: none;
    border-bottom-color: #000;
    box-shadow: none;
}

.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
}

.toggle-password:hover {
    color: #000;
}

.password-requirements {
    margin-top: 12px;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}

.password-requirements li:before {
    content: "•";
    position: absolute;
    left: 6px;
    color: #666;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    margin-top: -12px;
}

.remember-me {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #000;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
    border: 1px solid #d1d5db;
    border-radius: 2px;
}

.forgot-password {
    font-size: 14px;
    color: #000;
    text-decoration: underline;
}

.forgot-password:hover {
    color: #333;
    text-decoration: underline;
}

.auth-submit-button {
    width: 100%;
    height: 44px;
    background: #f2b946 !important;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 600;
    color: #000 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    text-align: center;
    margin-bottom: 24px;
}

.auth-submit-button:hover {
    background: #e0a83e !important;
    color: #000 !important;
}

.divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.divider:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e5e5;
}

.divider span {
    background: #fff;
    padding: 0 16px;
    font-size: 14px;
    color: #999;
    position: relative;
}

.google-login-button {
    width: 100%;
    height: 44px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-bottom: 24px;
}

.google-login-button:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.google-login-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.google-login-button img {
    width: 18px;
    height: 18px;
}

.auth-switch {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.auth-switch a {
    color: #000;
    text-decoration: underline;
    font-weight: 400;
}

.auth-switch a:hover {
    color: #333;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .jti-auth-image-section {
        display: none;
    }

    .jti-auth-form-section {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    .jti-auth-form-section {
        padding: 20px;
    }

    .jti-auth-container {
        max-width: 100%;
    }

    .jti-auth-header h1 {
        font-size: 24px;
    }
}