/* ============================================
   LOGIN PAGE
   ============================================ */

/* Login Hero Section */
.login-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1510;
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 60px 40px;
}

.login-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 25, 18, 0.75) 0%,
        rgba(61, 52, 45, 0.80) 100%
    );
}

.login-hero-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left Side - Welcome Content */
.login-welcome {
    color: white;
    padding-right: 20px;
}

.login-welcome-cross {
    display: block;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    line-height: 1;
}

.login-welcome h1 {
    font-size: 48px;
    font-weight: normal;
    margin-bottom: 12px;
    font-family: 'Georgia', serif;
    letter-spacing: 2px;
    line-height: 1.2;
}

.login-welcome-subtitle {
    font-size: 18px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 30px;
    line-height: 1.6;
}

.login-welcome-divider {
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    margin-bottom: 25px;
}

.login-welcome-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-feature-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
}

.login-feature-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

/* Right Side - Login Form */
.login-form-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 
        0 8px 32px rgba(31, 38, 135, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.18) inset;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-form-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #8b7355, #b89e7a, #8b7355);
    opacity: 0.9;
}

.login-form-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-form-title {
    font-size: 28px;
    font-weight: normal;
    color: #3d342d;
    margin-bottom: 6px;
    font-family: 'Georgia', serif;
}

.login-form-desc {
    font-size: 14px;
    color: #999;
    font-style: italic;
}

.login-field {
    margin-bottom: 22px;
}

.login-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #3d342d;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: Arial, sans-serif;
}

.login-field input[type="email"],
.login-field input[type="password"],
.login-field input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0dbd4;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Georgia', serif;
    color: #3d342d;
    background: #faf9f7;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-field input:focus {
    outline: none;
    border-color: #8b7355;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.12);
    background: white;
}

.login-field input::placeholder {
    color: #c0b9af;
}

.login-captcha {
    margin: 25px 0;
    display: flex;
    justify-content: center;
}

.login-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
}

.login-submit-btn {
    width: 100%;
    padding: 14px 30px;
    background: linear-gradient(135deg, #8b7355, #6d5a45);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
    margin-top: 8px;
}

.login-submit-btn:hover {
    background: linear-gradient(135deg, #7a6548, #5c4c3a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.35);
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    gap: 12px;
}

.login-divider-line {
    flex: 1;
    height: 1px;
    background: #e0dbd4;
}

.login-divider-text {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: Arial, sans-serif;
}

.login-microsoft-btn {
    width: 100%;
    padding: 12px 20px;
    background: white;
    border: 1.5px solid #e0dbd4;
    border-radius: 30px;
    font-size: 14px;
    color: #3d342d;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-family: Arial, sans-serif;
}

.login-microsoft-btn:hover {
    border-color: #8b7355;
    background: #faf9f7;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.15);
}

.microsoft-icon {
    display: grid;
    grid-template-columns: repeat(2, 10px);
    grid-template-rows: repeat(2, 10px);
    gap: 2px;
}

.microsoft-square {
    width: 10px;
    height: 10px;
}

.ms-red { background-color: #f35325; }
.ms-green { background-color: #81bc06; }
.ms-blue { background-color: #05a6f0; }
.ms-yellow { background-color: #ffba08; }

.login-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    align-items: center;
}

.login-link {
    color: #8b7355;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #3d342d;
}

/* Responsive */
@media (max-width: 968px) {
    .login-hero-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .login-welcome {
        text-align: center;
        padding-right: 0;
    }

    .login-welcome-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .login-features {
        align-items: center;
    }

    .login-welcome h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .login-hero {
        padding: 40px 20px;
    }

    .login-form-panel {
        padding: 32px 24px;
    }

    .login-welcome h1 {
        font-size: 32px;
    }
}
