/* === NOWE, NOWOCZESNE STYLE DLA STRON LOGOWANIA/REJESTRACJI === */

.auth-section {
    padding: 60px 0;
    background-color: #f8f9fa; /* Jasne tło dla całej sekcji */
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid var(--border);
    animation: fadeInAuth 0.5s ease-out;
}

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

.auth-box {
    padding: 30px 40px;
}

/* Stylizacja zakładek (tabs) */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
}

.auth-tabs .tab-link {
    flex: 1;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.auth-tabs .tab-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.auth-tabs .tab-link.active {
    color: var(--primary);
}

.auth-tabs .tab-link.active::after {
    background-color: var(--primary);
}

/* Kontenery dla treści zakładek */
.auth-content {
    display: none;
}
.auth-content.active {
    display: block;
}

/* Ulepszone formularze */
.auth-box h1 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--heading);
}

.auth-box p {
    text-align: center;
    color: var(--text);
    margin-bottom: 30px;
    line-height: 1.6;
}

.auth-box .form-group {
    margin-bottom: 20px;
}

.auth-box .form-control {
    height: 50px;
    background-color: var(--chalk);
}

.auth-box .btn {
    width: 100%;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
}

.auth-box .text-center a {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary);
    font-weight: 500;
}
.auth-box .text-center a:hover {
    text-decoration: underline;
}

/* Specjalne style dla strony aktywacji */
.activation-box {
    text-align: center;
}
.activation-box .icon {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 20px;
    animation: popIn 0.5s ease-out;
}
@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}