/* ============================================
   PLIK: auth/assets/css/auth.css
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== NAWIGACJA ===== */
.auth-nav {
    background: linear-gradient(90deg, #2c3e50, #1a2530);
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.auth-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.auth-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.auth-logo i {
    margin-right: 10px;
    color: #3498db;
    font-size: 1.8rem;
}

.auth-nav-menu {
    display: flex;
    list-style: none;
    height: 100%;
    margin: 0;
}

.auth-nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.auth-nav-link {
    color: white;
    text-decoration: none;
    padding: 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.auth-nav-link:hover,
.auth-nav-item.active .auth-nav-link {
    background-color: #34495e;
    border-bottom: 3px solid #3498db;
}

.auth-nav-link i {
    margin-right: 8px;
}

.auth-date-info {
    text-align: right;
    font-size: 0.85rem;
    color: #ecf0f1;
    line-height: 1.4;
}

.auth-date-info div {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.auth-date-info i {
    color: #3498db;
    width: 16px;
}

/* ===== GŁÓWNA ZAWARTOŚĆ ===== */
.auth-main {
    flex: 1;
    margin-top: 70px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== KONTENER FORMULARZA ===== */
.auth-container {
    background: white;
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.auth-container-wide {
    max-width: 1200px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.auth-header p {
    color: #7f8c8d;
    font-size: 1rem;
}

/* ===== ALERTY ===== */
.auth-alert {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

.auth-alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.auth-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* ===== FORMULARZ ===== */
.auth-form-group {
    margin-bottom: 20px;
}

.auth-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.auth-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
}

.auth-form-control:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52,152,219,0.2);
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.auth-btn:hover {
    background: #2980b9;
}

.auth-btn-success {
    background: #27ae60;
}

.auth-btn-success:hover {
    background: #219653;
}

/* ===== KARTY WYBORU KONTA ===== */
.auth-account-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.auth-account-card {
    background: white;
    border: 2px solid #3498db;
    border-radius: 10px;
    padding: 30px 25px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.auth-account-card:hover {
    background: #e3f2fd;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(52,152,219,0.3);
}

.auth-account-card i {
    font-size: 3.5rem;
    color: #3498db;
    margin-bottom: 20px;
}

.auth-account-card h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.auth-account-card p {
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.5;
}

.auth-features-list {
    text-align: left;
    margin: 15px 0 25px 0;
    flex-grow: 1;
}

.auth-features-list ul {
    list-style: none;
    padding: 0;
}

.auth-features-list li {
    padding: 10px 0;
    color: #2c3e50;
    position: relative;
    padding-left: 30px;
    border-bottom: 1px solid #ecf0f1;
    font-size: 0.95rem;
}

.auth-features-list li:last-child {
    border-bottom: none;
}

.auth-features-list li:before {
    content: "✓";
    color: #27ae60;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.auth-select-badge {
    display: inline-block;
    padding: 12px 30px;
    background: #3498db;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s;
    margin-top: auto;
}

.auth-account-card:hover .auth-select-badge {
    background: #2980b9;
}

/* ===== LINKI ===== */
.auth-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.auth-links a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

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

.auth-back-link {
    text-align: center;
    margin-top: 15px;
}

.auth-back-link a {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 0.9rem;
}

.auth-back-link a:hover {
    color: #3498db;
}

/* ===== STOPKA ===== */
.auth-footer {
    text-align: center;
    padding: 20px;
    background: #2c3e50;
    color: white;
    margin-top: auto;
}

.auth-footer p {
    margin: 5px 0;
}

.auth-footer a {
    color: #3498db;
    text-decoration: none;
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 1024px) {
    .auth-account-types {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .auth-nav-container {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    
    .auth-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }
    
    .auth-nav-item {
        margin: 5px;
    }
    
    .auth-nav-link {
        padding: 8px 12px;
        border-radius: 5px;
    }
    
    .auth-main {
        margin-top: 120px;
        padding: 15px;
    }
    
    .auth-container {
        padding: 30px 20px;
    }
    
    .auth-account-types {
        grid-template-columns: 1fr;
    }
    
    .auth-account-card {
        min-height: auto;
    }
    
    .auth-date-info {
        text-align: center;
        margin-top: 5px;
    }
    
    .auth-date-info div {
        justify-content: center;
    }
}