/* --- AUTH SPECIFIC STYLES --- */
body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f3f4f6;
    margin: 0;
    padding: 20px;
}

.auth-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 420px;
    animation: slideUp 0.4s ease-out;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    margin: 0;
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.5rem;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.2s;
    background-color: #f9fafb;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.cf-turnstile, .cf-turnstile iframe {
    width: 100%;
}

.auth-error, .auth-success {
    padding: 0.85rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.auth-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Klasy pomocnicze dla formularzy */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.text-sm {
    font-size: 0.8rem;
}

.w-full {
    width: 100%;
}

.btn-auth {
    justify-content: center;
    padding: 0.8rem;
    font-size: 1rem;
}

.no-underline {
    text-decoration: none;
}

/* Ikona sukcesu na stronach informacyjnych */
.auth-success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.auth-info-box {
    background-color: #f8fafc;
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

