﻿/* ========== PAGE COMPTE ========== */
.compte-dashboard {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
}

.compte-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.profile-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
  margin-bottom: 1.5rem;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary), #2c5282);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1rem;
}

.profile-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.profile-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.user-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
}

.compte-nav {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.compte-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.compte-nav-link:hover,
.compte-nav-link.active {
  background: var(--primary);
  color: var(--white);
}

.logout-btn {
  width: 100%;
  padding: 1rem;
  background: var(--danger);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  transition: var(--transition);
}

.logout-btn:hover {
  background: #a93226;
}

.compte-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), #2c5282);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-info .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-info .stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
}

.compte-section {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.compte-section h2 {
  color: var(--primary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.subscription-card {
  background: var(--gray);
  padding: 2rem;
  border-radius: 12px;
}

.subscription-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.subscription-header h3 {
  color: var(--primary);
}

.subscription-status {
  background: var(--success);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
}

