/* ====================================================================
   OvenCraft Bakery ERP - Full-Page Authentication Styles
   Only Username & Password Fields - Zero Pre-loaded Data
   ==================================================================== */

.fullpage-auth-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    background: #FFFFFF;
    overflow: hidden;
}

.auth-split-grid {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Left Hero Branding Side */
.auth-brand-side {
    flex: 1.1;
    background: linear-gradient(145deg, #1C1917 0%, #292524 50%, #44281D 100%);
    color: #FFFFFF;
    padding: 60px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-brand-side::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 122, 95, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.auth-brand-side::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 93, 57, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.auth-brand-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
}

.auth-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(224, 122, 95, 0.18);
    border: 1px solid rgba(224, 122, 95, 0.35);
    color: #F87171;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.auth-brand-title {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.8px;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.auth-brand-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: #D6D3D1;
    margin-bottom: 36px;
}

.auth-feature-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
}

.auth-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.auth-feature-item .feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.icon-amber { background: rgba(224, 122, 95, 0.2); color: #F59E0B; }
.icon-green { background: rgba(16, 185, 129, 0.2); color: #10B981; }
.icon-blue { background: rgba(59, 130, 246, 0.2); color: #60A5FA; }

.feature-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #F5F5F4;
    margin-bottom: 3px;
}

.feature-desc {
    font-size: 13px;
    color: #A8A29E;
    line-height: 1.45;
}

.auth-brand-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #A8A29E;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Right Form Side (Strictly Username & Password) */
.auth-form-side {
    flex: 1;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow-y: auto;
}

.auth-card-box {
    width: 100%;
    max-width: 440px;
}

.auth-header {
    margin-bottom: 28px;
}

.auth-logo-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #E07A5F 0%, #D95D39 100%);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(224, 122, 95, 0.35);
}

.auth-form-title {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.6px;
    margin-bottom: 6px;
}

.auth-form-subtitle {
    font-size: 13.5px;
    color: #64748B;
    line-height: 1.5;
}

.auth-alert {
    padding: 12px 16px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 10px;
    color: #DC2626;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group-auth {
    margin-bottom: 16px;
}

.form-group-auth label {
    font-size: 12.5px;
    font-weight: 700;
    color: #1E293B;
    display: block;
    margin-bottom: 7px;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper .input-icon {
    position: absolute;
    left: 14px;
    color: #94A3B8;
    font-size: 15px;
    pointer-events: none;
    transition: color 0.15s ease;
}

.auth-input {
    width: 100%;
    height: 48px;
    padding: 10px 42px 10px 42px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #0F172A;
    font-weight: 500;
    transition: all 0.2s ease;
}

.auth-input:focus {
    outline: none;
    background: #FFFFFF;
    border-color: #E07A5F;
    box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.15);
}

.auth-input:focus + .input-icon,
.input-icon-wrapper:focus-within .input-icon {
    color: #E07A5F;
}

.btn-toggle-pwd {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 15px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.btn-toggle-pwd:hover {
    color: #0F172A;
}

.btn-auth-submit {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #E07A5F 0%, #D95D39 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(224, 122, 95, 0.35);
    transition: all 0.2s ease;
    margin-top: 24px;
}

.btn-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(224, 122, 95, 0.45);
}

.btn-auth-submit:active {
    transform: translateY(0);
}

.btn-auth-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-footer-note {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px dashed #E2E8F0;
    font-size: 12px;
    color: #64748B;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.auth-footer-note i {
    color: #10B981;
    margin-top: 3px;
}

/* Responsive adjustment */
@media (max-width: 960px) {
    .auth-brand-side {
        display: none;
    }
    .auth-form-side {
        padding: 24px;
    }
}
