:root {
  /* Variables futures si besoin */
}

/* === Mise en page générale === */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Academy Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #fff !important;
  background: #000 !important;
}

a:hover {
  color: #fff !important;
  text-decoration: underline;
}

::placeholder {
  color: #fff !important;
  opacity: 0.5 !important;
}

.logo-hear {
  filter: invert(1);
  width: 5em;
}

.navbar-brand {
  color: #fff !important;
}

/* === En-tête === */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: transparent;
}

header svg {
  width: 80px;
  height: auto;
}

header .title-right {
  font-weight: 700;
  font-size: 1.2rem;
}

/* === Bloc principal === */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

main .container {
  max-width: 600px;
}

#registrationForm {
  border: 1px solid #fff !important;
  background: #000 !important;
}

/* === Formulaire === */
form {
  width: 100%;
  background: transparent;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
}

.form-label {
  font-weight: 700;
}

.form-control,
.form-select {
  background: transparent !important;
  border: 1px solid #fff !important;
  color: #fff !important;
  box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
  border-color: #fff !important;
  background-color: rgba(255, 255, 255, 0.25) !important;
  outline: none !important;
  color: #fff !important;
}

.btn-primary {
  background: #fff !important;
  color: #000 !important;
  border: none !important;
  font-weight: 400;
}

.btn-primary:hover {
  background: #333 !important;
  color: #fff !important;
}


.btn-success {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #fff !important;
}

#message {
  font-weight: 400;
  color: #fff !important;
}

/* === Cartes / Workshops === */
.card {
  background-color: #000 !important;
  border: 1px solid #fff !important;
  color: #fff !important;
}

.card-body {
  color: #fff !important;
}

.card.selected {
  background-color: #fff !important;
}

.card.selected .card-body,
.card.selected .text-muted {
  color: #000 !important;
}

.workshop-card {
  cursor: pointer;
}

.text-muted {
  color: #fff !important;
}

.text-danger {
  color: #000 !important;
  background: #ff644e !important;
}

.text-success {
  color: #000 !important;
  background: #56c1ff !important;
}

/* === Sticky === */
.sticky-top {
  top: 0;
  z-index: 1020;
}

#selectedWorkshopSticky {
  position: sticky;
  top: 1rem;
}

/* === Liste des workshops === */
.workshops-container {
  max-height: 70vh;
  overflow-y: auto;
}

/* === Responsive === */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  main {
    padding-top: 120px; /* éviter que le header recouvre le contenu */
  }
}
