/* ESTILOS EXCLUSIVOS PARA PANEL DE CLIENTES - NO AFECTA AL ADMIN */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

/* === LOGIN STYLES === */
.client-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.client-login-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.client-login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.client-login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.client-login-logo i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 10px;
}

.client-login-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.client-login-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

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

.client-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.client-form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.client-form-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.client-btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.client-btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.client-error-message {
    background: #fee;
    color: #c53030;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #c53030;
    font-size: 0.9rem;
}

/* === DASHBOARD STYLES === */
.client-dashboard {
    background: #f8fafc;
    min-height: 100vh;
    padding-bottom: 80px; /* Espacio para navegación inferior */
}

.client-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.client-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.client-header-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.client-header-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.client-header-avatar {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.client-logout-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.8rem;
}

.client-logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.client-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.client-tab-content {
    display: none;
}

.client-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* === CARDS STYLES === */
.client-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.client-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.client-status-active {
    background: #d1fae5;
    color: #047857;
}

.client-status-inactive {
    background: #fee2e2;
    color: #dc2626;
}

.client-payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.client-payment-item:last-child {
    border-bottom: none;
}

.client-payment-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.client-payment-info p {
    font-size: 0.85rem;
    color: #666;
}

.client-payment-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #059669;
}

/* === BOTTOM NAVIGATION === */
.client-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 100;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
}

.client-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    min-width: 60px;
    text-decoration: none;
    color: #64748b;
}

.client-nav-item.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.client-nav-item i {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.client-nav-item span {
    font-size: 0.7rem;
    font-weight: 600;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .client-main-content {
        padding: 15px;
    }
    
    .client-card {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .client-header-content {
        padding: 0 10px;
    }
    
    .client-header-title {
        font-size: 1.1rem;
    }
    
    .client-header-user {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .client-login-card {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .client-card {
        padding: 15px;
    }
    
    .client-payment-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .client-nav-item i {
        font-size: 1.1rem;
    }
    
    .client-nav-item span {
        font-size: 0.65rem;
    }
}

/* === UTILITY CLASSES === */
.client-text-center { text-align: center; }
.client-text-success { color: #059669; }
.client-text-danger { color: #dc2626; }
.client-text-muted { color: #64748b; }
.client-mb-0 { margin-bottom: 0; }
.client-mt-20 { margin-top: 20px; }
.client-hidden { display: none; }
