/* Style général de la page */
body { 
  background-color: #f0f2f6; 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#app-subtitle { line-height: 1.2; opacity: .85; }

#app-title-sidebar {
  margin-bottom: .25rem;
  line-height: 1.1;
}

#app-subtitle {
  font-size: .95rem;
  line-height: 1.25;
  margin-top: .2rem;
  margin-bottom: 1rem;
  opacity: .9;
  display: block;
}

/* ✅ RESPONSIVE LABEL LANGUE */
#lang-label {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  display: block;
}

/* ✅ SIDEBAR RESPONSIVE */
.sidebar { 
  background-color: #ffffff; 
  padding: 1.5rem; 
  border-right: 1px solid #e6e6e6;
}

/* Desktop: sidebar fixed */
@media (min-width: 768px) {
  .sidebar {
    height: 100vh;
    position: fixed;
  }
  .main-content {
    margin-left: 25%;
  }
}

/* Mobile: sidebar + main stacked */
@media (max-width: 767px) {
  .sidebar {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #e6e6e6;
  }
  .main-content {
    margin-left: 0;
  }
}

/* Contenu principal */
.main-content { 
  padding: 2rem; 
}

/* Styles des textes et formulaires */
.form-label { 
  font-weight: 600; 
}
.form-caption { 
  font-size: 0.8rem; 
  color: #6c757d; 
}

.sidebar h4, .main-content h3 {
    padding-top: 0.5rem;
}

/* Bouton fancy réutilisable */
.fancy-btn {
  padding: 14px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}
.fancy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102,126,234,0.6);
}
.fancy-btn:active {
  transform: translateY(0);
}