/* Główny kontener */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    padding: 20px;
}

/* Karta formularza */
.auth-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 30px;
    width: 100%;
    max-width: 450px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-card h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

/* Formularz */
.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-card .form-label {
    font-weight: 500;
    color: #34495e;
}

.auth-card .form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.auth-card .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

/* Przycisk */
.auth-card .btn-primary {
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
    border: none;
    padding: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.auth-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Linki dodatkowe */
.auth-card .text-center a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.auth-card .text-center a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Alerty */
.alert {
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
}

/* Animacje */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s;
}

/* Responsywność */
@media (max-width: 576px) {
    .auth-card {
        padding: 20px;
    }
}