﻿* {
    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, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    width: 100%;
    max-width: 500px;
}

.brand {
    text-align: center;
    margin-bottom: 2rem;
}

    .brand h1 {
        color: white;
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .brand p {
        color: rgba(255,255,255,0.9);
        font-size: 1.1rem;
    }

.auth-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

    .auth-card h2 {
        text-align: center;
        margin-bottom: 2rem;
        color: #2d3748;
        font-size: 1.75rem;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: #4a5568;
        font-weight: 600;
        font-size: 0.95rem;
    }

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f7fafc;
}

    .form-control:focus {
        outline: none;
        border-color: #667eea;
        background: white;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    }

.alert-danger {
    padding: 1rem;
    background: #fed7d7;
    color: #c53030;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #fc8181;
}

.alert-info {
    padding: 1rem;
    background: #bee3f8;
    color: #2c5282;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #4299e1;
    font-size: 0.9rem;
}

.text-danger {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: #718096;
}

    .auth-footer a {
        color: #667eea;
        text-decoration: none;
        font-weight: 600;
    }

        .auth-footer a:hover {
            color: #764ba2;
        }

.back-home {
    text-align: center;
    margin-top: 1.5rem;
}

    .back-home a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        opacity: 0.9;
    }

        .back-home a:hover {
            opacity: 1;
        }
