
.side-nav {
  width: 72px;
  background: #222c2a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  border-right: 1px solid #222;
  position: relative;
  z-index: 10;
}

.side-nav-logo {
  width: 38px;
  margin-bottom: 24px;
}

.side-nav-avatar-container {
  position: relative;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  cursor: pointer;
}

.side-nav-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background-color: #d1d7db;
}

.side-nav-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.side-nav-btn {
  background: none;
  border: none;
  color: #b1b3b5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.side-nav-btn:hover {
  background: #333d3a;
  color: #25d366;
  transform: scale(1.05);
}

.side-nav-btn.active {
  background: #333d3a;
  color: #25d366;
  position: relative;
}

.side-nav-btn.active::after {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background-color: #25d366;
  border-radius: 0 4px 4px 0;
}

.side-nav-icon {
  width: 24px;
  height: 24px;
}


.relative {
  position: relative;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.side-nav-dropdown-menu {
  position: absolute;
  left: 60px;
  top: 0;
  width: 220px;
  background-color: #2a3942;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
  padding: 8px 0;
  z-index: 100;
  animation: fadeIn 0.2s ease-in-out;
}

.side-nav-menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #d1d7db;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.side-nav-menu-item:hover {
  background-color: #3c4a54;
}

.side-nav-menu-divider {
  height: 1px;
  background-color: #3c4a54;
  margin: 8px 0;
}


.profile-modal {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 50;
  border-radius: 8px;
  overflow: hidden;
  transform-origin: top left;
  animation: popIn 0.2s ease-out;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.profile-modal-inner {
  display: flex;
  flex-direction: column;
}

.profile-header {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-avatar-small {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #006B88;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
}

.profile-info {
  flex: 1;
}

.profile-actions {
  padding: 8px 0;
}

.profile-action-button {
  width: 100%;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  gap: 16px;
  text-align: left;
  transition: background-color 0.2s ease;
}

.profile-action-button:hover {
  background-color: #f5f5f5;
}


.settings-page h2 {
  color: #006B88;
  font-weight: 600;
  margin-bottom: 1rem;
}


input[type="checkbox"].sr-only + div {
  transition: all 0.3s ease;
}

input[type="checkbox"].sr-only + div::after {
  transition: all 0.3s ease;
}


select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1em;
  padding-right: 2rem;
}


.discussion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.discussion-item:hover {
  transform: translateX(4px);
}


@keyframes messageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


.rounded-tr-none::after {
  content: '';
  position: absolute;
  top: 0;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid #006B88;
  border-right: 10px solid transparent;
}

.rounded-tl-none::after {
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid white;
  border-left: 10px solid transparent;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #006B88;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 36px;
}

.vocal-button {
  background-color: #f0f0f0;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-top: 20px;
}

.vocal-button:hover {
  background-color: #e0e0e0;
}

/* Styles pour la page de paramètres */
.settings-page {
  width: 400px;
  background-color: #fff;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.settings-header {
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.settings-content {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}

.settings-section {
  margin-bottom: 24px;
}

.settings-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #006B88;
  margin-bottom: 12px;
}

.settings-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.settings-item-icon {
  width: 24px;
  height: 24px;
  margin-right: 16px;
  color: #555;
}

.settings-item-content {
  flex: 1;
}

.settings-item-title {
  font-weight: 500;
}

.settings-item-description {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}