/* Modern Login Design - FAMA-DJI */
:root {
    --primary-base: #87CEEB;
    --primary-light: #B0E0E6;
    --primary-medium: #5DADE2;
    --primary-dark: #2E86C1;
    --accent-blue: #3498DB;
    --accent-cyan: #00BCD4;
    --background-light: #F8FAFC;
    --background-white: #FFFFFF;
    --text-dark: #1A202C;
    --text-medium: #4A5568;
    --text-light: #718096;
    --border-subtle: #E2E8F0;
    --border-focus: #4299E1;
    --success-vibrant: #38A169;
    --error-bright: #E53E3E;
    --shadow-soft: 0 2px 4px rgba(45, 55, 72, 0.1);
    --shadow-medium: 0 4px 6px rgba(45, 55, 72, 0.15);
    --shadow-strong: 0 10px 15px rgba(45, 55, 72, 0.2);
    --shadow-intense: 0 20px 25px rgba(45, 55, 72, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #EBF8FF 0%, #BEE3F8 25%, #90CDF4 50%, #63B3ED 75%, #4299E1 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    min-height: 500px;
    display: flex;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-brand {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-base), var(--primary-medium));
    color: var(--text-dark);
    padding: 60px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-right: 4px solid var(--accent-cyan);
}

.login-brand::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.login-brand::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
}

@keyframes float {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    50% { transform: translateX(-20px) translateY(-20px); }
}

.login-brand img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.login-brand h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.login-brand p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 300px;
    color: var(--primary-dark);
}

.login-form-container {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    margin-bottom: 40px;
}

.login-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-medium);
    font-size: 1rem;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--background-light);
}

.form-input:focus {
    outline: none;
    border-color: var(--border-focus);
    background-color: var(--background-white);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.form-input::placeholder {
    color: var(--text-light);
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
}

.remember-me label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
}

.login-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-medium));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-dark));
}

.login-button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-soft);
}

.login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-button:hover::before {
    left: 100%;
}

.login-footer {
    margin-top: 20px;
    text-align: center;
}

.login-footer a {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.login-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        margin: 20px;
    }
    
    .login-brand {
        padding: 40px 30px;
    }
    
    .login-brand h1 {
        font-size: 2rem;
    }
    
    .login-form-container {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
    }
    
    .login-container {
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
    }
}