:root {
    --primary-color: #0000ff;
    --secondary-color: #0e85e0;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
}

body {
    background-color: var(--light-bg);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hidden { display: none !important; }

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.login-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
}

/* Header */
.app-header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 16px 0;
    margin-bottom: 30px;
}

.psychologist-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psychologist-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Client Cards */
.client-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.client-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
    transform: translateY(-2px);
}

.client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
}

.filter-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Sessions */
.session-item {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 3px solid var(--primary-color);
}

.session-item.cancelled {
    border-left-color: var(--danger-color);
    opacity: 0.7;
}

.session-item.scheduled {
    border-left-color: var(--warning-color);
}

.intervention-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-right: 6px;
    margin-bottom: 6px;
}

/* Client Detail */
.client-detail-header {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.client-detail-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary-color);
    font-weight: bold;
}

.stat-card {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.stat-card h5 {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-card p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

.loading i {
    font-size: 32px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.auth-container {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 100%;
}
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}
.auth-header i {
    font-size: 64px;
    color: var(--primary-color);
}
.nav-tabs {
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
}
.nav-tabs .nav-link {
    border: none;
    color: #666;
    padding: 10px 20px;
}
.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    font-weight: 600;
}
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px;
}
.btn-primary:hover {
    background: var(--secondary-color);
}
.hidden { display: none !important; }
.progress { height: 25px; }
.forgot-password-link {
    text-align: center;
    margin-top: 15px;
}
.forgot-password-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}
.forgot-password-link a:hover {
    text-decoration: underline;
}
