/* ============================================
   LOGIN PAGE STYLES
   ============================================ */
.login-body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f5f5;
    overflow: hidden;
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* ============================================
   LEFT PANEL - LOGIN FORM
   ============================================ */
.login-left-panel {
    flex: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow-y: auto;
    min-width: 500px;
}

.login-form-wrapper {
    width: 100%;
    max-width: 450px;
    position: relative;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.login-logo img {
    width: 60px;
    height: 60px;
}

.login-logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 2px;
}

.login-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4f46e5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.login-back-btn:hover {
    color: #4338ca;
    transform: translateX(-4px);
}

.login-back-btn svg {
    width: 20px;
    height: 20px;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.login-language-selector {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-language-selector img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

.language-select {
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 14px;
    color: #1a1a2e;
    cursor: pointer;
    font-family: inherit;
}

.login-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.login-form {
    margin-bottom: 24px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.login-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
    color: #1a1a2e;
}

.login-form input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.login-form input::placeholder {
    color: #9ca3af;
}

.login-form .form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

.form-checkbox {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #4b5563;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4f46e5;
}

.btn-auth {
    width: 100%;
    background: #1a1a2e;
    color: #ffffff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    background: #2a2a3e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.3);
}

.btn-auth svg {
    width: 20px;
    height: 20px;
}

.login-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.login-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4f46e5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-link:hover {
    color: #4338ca;
    text-decoration: underline;
}

.login-link svg {
    width: 18px;
    height: 18px;
}

.login-separator {
    position: relative;
    text-align: center;
    margin: 32px 0;
}

.login-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.login-separator span {
    position: relative;
    background: #ffffff;
    padding: 0 16px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.btn-google {
    width: 100%;
    background: #4285f4;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-google:hover {
    background: #357ae8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn-google svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   RIGHT PANEL - WELCOME
   ============================================ */
.login-right-panel {
    flex: 1;
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a3e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.login-right-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(79, 70, 229, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.login-welcome-content {
    text-align: center;
    color: #ffffff;
    z-index: 1;
    position: relative;
}

.welcome-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.welcome-logo img {
    width: 80px;
    height: 80px;
    filter: brightness(0) invert(1);
}

.welcome-logo-text {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 3px;
}

.welcome-brand {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 3px;
}

.welcome-tagline {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    letter-spacing: 2px;
    font-weight: 300;
}

.welcome-message {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .login-container {
        flex-direction: column;
    }

    .login-left-panel {
        min-width: 100%;
        padding: 32px 24px;
    }

    .login-right-panel {
        display: none;
    }

    .login-language-selector {
        position: static;
        margin-bottom: 24px;
        justify-content: flex-end;
    }
}

@media (max-width: 640px) {
    .login-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .login-title {
        font-size: 24px;
    }

    .login-logo-text {
        font-size: 28px;
    }
}

