body {
  background: linear-gradient(120deg, #a18cd1 0%, #fbc2eb 100%);
  min-height: 100vh;
  font-family: 'Montserrat', sans-serif;
}

.navbar-custom {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%) !important;
  box-shadow: 0 4px 18px 0 rgba(112,80,180,0.11);
}
.navbar-brand, .nav-link, .navbar-text {
  color: #fff !important;
}
.navbar .btn-outline-light {
  border-color: #fff;
  color: #fff;
}
.navbar .btn-outline-light:hover {
  background-color: #fff;
  color: #764ba2;
}
.navbar-nav .nav-link {
  display: inline-block;
  width: auto;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.navbar .nav-link.active {
  border-bottom: 3px solid #fff !important;
  font-weight: bold;
  background: none !important;
  color: #fff !important;
  width: auto;
  display: inline-block;
}
.card {
  border-radius: 16px;
  border: none;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 2px 9px #ba7bd480;
}
.card h4 {
  color: #764ba2;
}
.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 10px #a18cd180;
}
.btn-primary {
  background: linear-gradient(90deg,#667eea,#62e1fc);
  border: none;
  color: #fff;
  font-weight: bold;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#62e1fc,#667eea);
  color: #fff;
}
.btn-link {
  color: #764ba2;
  font-weight: bold;
  text-decoration: underline dotted;
}
#ajaxMsg.text-success { color: #157347 !important; }
#ajaxMsg.text-danger  { color: #a33d3d !important; }
@media (max-width: 767px) {
  .container { padding-top: 30px; }
}
@media (max-width: 576px) {
  #audioList .list-group-item {
    flex-direction: column !important;
    text-align: left;
  }
  #audioList .btn {
    margin-top: 6px;
    width: 100%;
  }
  #reunionList .list-group-item {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  #reunionList .actions-reunion {
    width: 100%;
    justify-content: start !important;
    margin-top: .5rem;
  }
  #reunionList .btn {
    width: 48px;
    margin-right: .5rem;
    margin-bottom: .5rem;
    padding-left: 0;
    padding-right: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
}

.resume-html-content {
  font-size: clamp(1.05rem, 2.5vw, 1.16rem);
  line-height: 1.7;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  word-break: break-word;
  overflow-x: auto;
}
@media (max-width: 600px) {
  .resume-html-content h1,
  .resume-html-content h2 { font-size:1.1em; }
  .resume-html-content h3 { font-size:1em; }
}
.resume-html-content ul, .resume-html-content ol {
  padding-left:1.2em;
}

/* Style onglets : couleur thème du titre de réunion */
.nav-tabs .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus {
  color: #764ba2 !important;
  font-weight: bold;
  letter-spacing: 0.5px;
  border-bottom: 2px solid transparent;
}

.navbar .nav-link.active {
  border-bottom: 3px solid #fff !important;
  color: #fff !important;
  font-weight: bold !important;
  background: none !important;
  width: auto;
  display: inline-block;
}

.text-theme { color: #764ba2 !important; }
.text-theme:hover, .text-theme:focus { text-decoration: underline !important; color: #986cd1 !important; }

.titre-theme {
  color: #764ba2 !important;
  font-weight: bold;
  letter-spacing: 0.5px;
}

#timer {
  color: #764ba2 !important;
  font-weight: bold;
  font-size: 2em;
  margin-top: 20px;
}