@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: 'Montserrat', sans-serif !important;
    background-color: #121212 !important;
}

.form-control:focus {
    border-color: gray;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69,0.5);
}

.form-select:focus {
    border-color: gray;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69,0.5);
} 


.nav-link.active {
    color: #dc3545 !important;
    border-radius: 30px !important;
}

.card {
    border-radius: 18px !important;
}


.add-film-button {
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center; /* ← centre le texte et l'icône horizontalement */
  gap: 0.5em;
  background: linear-gradient(135deg, #dc3545, #670b0bff);
  color: white;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5em 1.2em;
  border-radius: 1em;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease-in-out;
  text-align: center;
  border: none;

  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.add-film-button:hover {
  transform: scale(105%);
  box-shadow: 0 0 1.5em rgba(0, 0, 0, 1);
}

.add-film-button .icon {
  width: 1em;
  height: 1em;
  stroke: white;
  stroke-width: 2;
}


.btn-cinefil {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0.5em 1.2em;
  font-size: smaller;
  font-weight: bold;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 1em;
  background: linear-gradient(135deg, #dc3545, #670b0b);
  cursor: pointer;
  z-index: 0;
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.btn-cinefil::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #670b0b, #dc3545);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-cinefil:hover::before {
  opacity: 1;
}

.btn-cinefil:hover {
  box-shadow: 0 0 0.2em rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-text {
  position: relative;
  z-index: 1;
}

.add-film-plus {
  display: inline-block;
  transition: transform 0.3s ease;
}

.add-film-button:hover .add-film-plus {
  transform: rotate(180deg);
}


.dropdown-item:active {
  background-color: #dc3545;
}





/* BTN CINEFIL BLEU */
.btn-cinefil-blue {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0.5em 1.2em;
  font-size:smaller;
  font-weight: bold;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 1em;
  background: linear-gradient(135deg, #3755d9, #1833ac);
  cursor: pointer;
  z-index: 0;
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.btn-cinefil-blue::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1833ac, #3755d9);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-cinefil-blue:hover::before {
  opacity: 1;
}

.btn-cinefil-blue:hover {
  box-shadow: 0 0 0.2em rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}