/* 
@import url('variables.css');
@import url('layout.css');
@import url('buttons.css');
@import url('cards.css');
@import url('modals.css');
@import url('navbar.css');
@import url('profile.css');
@import url('responsive.css');
 */

body {
  max-width: 1500px;
  box-sizing: border-box;
  margin: 2% auto;
  background-color: #0d1b2a; /* Bleu nuit */
  color: #e0e0e0; /* Texte clair pour contraste */
}

.wave-frame {
  display: flex;
  flex-direction: row;
}

label {
  color: #0d1b2a;
  opacity: 1;
}

.form-control::placeholder {
  color: #0d1b2a;
  opacity: 1;
}
/* Style de la wave-list */

.wave-card {
  background: linear-gradient(to right, #292e49, #536976);
  color: white;
  border-radius: 20px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease-in-out;
}

.wave-card:hover {
  transform: translateY(-5px);
}

.wave-card-avatar {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  max-width: 125px;
  max-height: 125px;
}

.wave-card-avatar-container {
  justify-content: center;
}

.col-md-8 {
  text-align: center;
  align-content: space-evenly;
}

.wave-card-body {
  text-align: center;
}

/* Boutons Like et Dislike */
.btn-success {
  background-color: #28a745;
  border-color: #28a745;
  color: white;
}

.btn-success:hover,
.btn-success:focus {
  background-color: #218838;
  border-color: #1e7e34;
  color: white;
}

.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}

.btn-danger:hover,
.btn-danger:focus {
  background-color: #c82333;
  border-color: #bd2130;
  color: white;
}

/* Boutons edit et delete */
.btn-neon-blue {
  background-color: #00ccff;
  border-color: #00ccff;
  color: #1a1a2e;
}

.btn-neon-blue:hover,
.btn-neon-blue:focus {
  background-color: #00bfff;
  border-color: #00bfff;
  color: #1a1a2e;
}

.btn-neon-pink {
  background-color: #ff0066;
  border-color: #ff0066;
  color: #1a1a2e;
}

.btn-neon-pink:hover,
.btn-neon-pink:focus {
  background-color: #ff3366;
  border-color: #ff3366;
  color: #1a1a2e;
}

.modal-content {
  border-radius: 15px;
  background: linear-gradient(to left, #292e49, #536976);
  color: white;
}

.modal-header {
  background: linear-gradient(to left, #292e49, #536976);
  color: white;
  border-bottom: none;
}

.modal-title {
  color: white;
}

.btn-close {
  filter: invert(1);
}

.modal-footer {
  border-top: none;
}

.btn-danger {
  background: #f76c6c;
  border: none;
}

.btn-secondary {
  background: #a29bfe;
  border: none;
}

.navbar-container {
  border-radius: 2rem;
}

.navbar-collapse {
  justify-content: flex-end;
}

.navbar-collapse > ul {
  margin-right: 20px;
  margin-left: 20px;
}

/* Centrer le navbar uniquement quand il est en mode collapse et montré */
@media (max-width: 991.98px) {
  .navbar-collapse.show {
    display: flex;
    justify-content: center;
  }
  .navbar-collapse.show ul.nav {
    width: 100%;
    margin: 0 20px 0 20px;
    padding: 0;
    display: flex;
    justify-content: center;
  }
}

/* Image de profil (Avatar) */
.topbar-img {
  width: 80px;
  height: 80px;
  cursor: pointer;
  border-radius: 50%; /* Pour une image de profil ronde */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19); /* Ombre élégante */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation douce pour les transformations */
}

.topbar-img:hover {
  transform: scale(1.1); /* Agrandissement léger au survol */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.19); /* Ombre accentuée au survol */
}

/* Style de la Side-Bar */

.profile-container {
  background: linear-gradient(to left, #292e49, #536976);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 1rem;
  transition: transform 0.3s ease-in-out;
  margin-bottom: 1rem;
}

.profile-container:hover {
  transform: translateY(-5px);
}

.avatar {
  border-radius: 50%;
  max-width: 125px;
  max-height: 125px;
  margin-bottom: 1rem;
}

.profile-category {
  margin: 1rem 0;
}

.profile-sub-category {
  margin-bottom: 0.5rem;
}

.btn-follow,
.btn-unfollow {
  margin-top: 1rem;
}

.text-primary {
  color: #1f8a70; /* Vert samouraï */
}

.styled-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.styled-link:hover {
  color: #ffcc00;
  border-bottom: 2px solid #ffcc00;
  text-decoration: none;
}

.styled-link:active {
  color: #ffaa00;
}

@media (max-width: 768px) {
  .wave-card .row.no-gutters {
    flex-direction: column;
  }
  .wave-card-avatar-container {
    flex-direction: row !important;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
  }

  .profile-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .avatar {
    margin-bottom: 0;
    margin-right: 1rem;
  }

  .profile-category {
    margin: 0 1rem;
  }

  .profile-sub-category {
    margin-right: 1rem;
    margin-bottom: 0;
  }
}

@media (max-width: 556px) {
  body {
    margin: 0;
  }

  .profile-container {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }

  .navbar-container {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
  }
}
/* Style de la search bar et du search menu */

#search-menu-container {
  position: relative;
}

.search-menu {
  position: absolute;
  background: linear-gradient(to right, #292e49, #536976);
  color: white;
  z-index: 1;
  top: 20px;
  left: 0px;
  width: 300px;
  min-height: 200px;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}
.search-menu-item {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}
.search-menu-item:hover {
  background: linear-gradient(to right, #292e49, #536976);
  color: white;
  transition: background 0.2s;
}

.btn-wave {
  border-radius: 30px;
}

.btn-google,
.btn-facebook {
  display: flex;
  align-items: center;
  justify-content: center;
}
