.client-quotes-table {
  margin: 40px auto;
  max-width: 850px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px #0002;
  padding: 24px;
}

.client-quotes-table h2 {
  margin-bottom: 20px;
  color: #15497a;
  font-size: 1.5rem;
}


.client-quotes-table table {
  width: 100%;
  border-collapse: collapse;
}

.client-quotes-table th,
.client-quotes-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
}

.client-quotes-table th {
  background: #f3f7fb;
  color: #23425a;
  font-weight: 700;
}

.client-quotes-table tr:last-child td {
  border-bottom: none;
}

.status {
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.95em;
}

.status.waiting {
  background: #fff4cc;
  color: #b78b00;
}

.status.offers {
  background: #e4ffd3;
  color: #348833;
}

.status.closed {
  background: #f8d7da;
  color: #a50e11;
}

.btn-view {
  display: inline-block;
  background: #15497a;
  color: #fff;
  padding: 7px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.95em;
  transition: background 0.2s;
}

.btn-view:hover {
  background: #236da9;
}

@media (max-width: 630px) {
  .client-quotes-table table,
  .client-quotes-table thead,
  .client-quotes-table tbody,
  .client-quotes-table th,
  .client-quotes-table td,
  .client-quotes-table tr {
    display: block;
  }
  .client-quotes-table thead tr {
    display: none;
  }
  .client-quotes-table td {
    border-bottom: none;
    position: relative;
    padding-left: 50%;
    margin-bottom: 15px;
  }
  .client-quotes-table td:before {
    position: absolute;
    left: 12px;
    width: 45%;
    white-space: nowrap;
    font-weight: bold;
    color: #23425a;
    content: attr(data-label);
  }
}

.quote-detail-container {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px #0001;
  padding: 32px 28px;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.quote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.quote-header h2 {
  color: #15497a;
  font-size: 1.65rem;
  margin: 0;
}

.quote-status {
  padding: 6px 17px;
  font-size: 1em;
  border-radius: 18px;
  color: #388a2d;
  background: #e2ffe0;
  font-weight: 600;
}

.quote-status.offers {
  color: #236da9;
  background: #d5ecff;
}

.quote-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
  margin-bottom: 30px;
}

.quote-info div {
  padding: 7px 0;
  /* font-size: 1.08em; */
  font-size: 16px;
}

h3 {
  font-weight: 600;
  color: #23425a;
  margin-top: 30px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  font-size: 1.2rem;
}

.offers-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  background: #f7fbfe;
  border-radius: 7px;
  overflow: hidden;
}

.offers-table th, .offers-table td {
  padding: 13px 10px;
  text-align: left;
}

.offers-table th {
  background: #e4f0fa;
  color: #23425a;
  border-bottom: 2px solid #c6deee;
  font-size: 1em;
}

.offers-table td {
  border-bottom: 1px solid #e6eef8;
  font-size: 0.97em;
  vertical-align: top;
}

.offers-table tr:last-child td {
  border-bottom: none;
}

.offer-price {
  font-weight: bold;
  color: #307904;
  font-size: 1.06em;
}

.provider-label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 15px;
  background: #f1f3fb;
  font-size: 0.93em;
  color: #2b5999;
  font-weight: 500;
  margin-bottom: 2px;
}

.btn-accept {
  display: inline-block;
  margin-bottom: 4px;
  background: #16a34a;
  color: #fff;
  padding: 7px 15px;
  border-radius: 21px;
  text-decoration: none;
  font-size: 0.96em;
  margin-right: 5px;
  transition: background 0.2s;
}
.btn-accept:hover {
  background: #18803b;
}

.btn-message {
  display: inline-block;
  background: #e3e8fd;
  color: #15497a;
  padding: 7px 14px;
  border-radius: 17px;
  text-decoration: none;
  font-size: 0.95em;
  transition: background 0.2s;
}
.btn-message:hover {
  background: #d3dbf8;
}

.quote-back {
  text-align: right;
  margin-top: 20px;
}
.btn-back {
  color: #236da9;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: color 0.2s;
}
.btn-back:hover {
  color: #143a58;
}

@media (max-width: 670px) {
  .quote-detail-container {
    padding: 18px 4vw;
  }
  .quote-info {
    grid-template-columns: 1fr;
  }
  .quote-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.quote-detail-container {
  max-width: 950px;
  margin: 44px auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 22px #0001;
  padding: 34px 28px;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.quote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.quote-header h2 {
  color: #15497a;
  font-size: 1.7rem;
  margin: 0;
}

.quote-status {
  padding: 7px 19px;
  font-size: 1em;
  border-radius: 18px;
  color: #236da9;
  background: #d5ecff;
  font-weight: 650;
}

.quote-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
  margin-bottom: 28px;
}

.quote-info div {
  padding: 8px 0;
  /* font-size: 1.10em; */
  font-size: 16px;
}

h3 {
  font-weight: 650;
  color: #23425a;
  margin-top: 29px;
  margin-bottom: 16px;
  letter-spacing: .02em;
  font-size: 1.17rem;
}

.offers-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  background: #f7fbfe;
  border-radius: 7px;
  overflow: hidden;
}

.offers-table th, .offers-table td {
  padding: 13px 10px;
  text-align: left;
}

.offers-table th {
  background: #e4f0fa;
  color: #23425a;
  border-bottom: 2px solid #c6deee;
  font-size: 1em;
}

.offers-table td {
  border-bottom: 1px solid #e6eef8;
  font-size: 0.97em;
  vertical-align: top;
}

.offers-table tr:last-child td {
  border-bottom: none;
}

.offer-price {
  font-weight: bold;
  color: #307904;
  font-size: 1.08em;
}

.provider-label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 15px;
  background: #f1f3fb;
  font-size: 0.93em;
  color: #2b5999;
  font-weight: 500;
}

.btn-accept {
  display: inline-block;
  margin-bottom: 4px;
  background: #16a34a;
  color: #fff;
  padding: 7px 15px;
  border-radius: 22px;
  text-decoration: none;
  font-size: 0.96em;
  margin-right: 5px;
  transition: background 0.2s;
}
.btn-accept:hover {
  background: #18803b;
}

.btn-message {
  display: inline-block;
  background: #e3e8fd;
  color: #15497a;
  padding: 7px 14px;
  border-radius: 17px;
  text-decoration: none;
  font-size: 0.95em;
  transition: background 0.2s;
}
.btn-message:hover {
  background: #d3dbf8;
}

.pagination {
  display: flex;
  gap: 5px;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.pagination .page {
  padding: 7px 13px;
  border-radius: 15px;
  background: #f2f2f9;
  color: #15497a;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
  border: none;
  margin-left: 4px;
}

.pagination .page.active {
  background: #15497a;
  color: #fff;
  cursor: default;
}
.pagination .page.disabled {
  color: #bbbcd2;
  background: #f2f2f9;
  cursor: not-allowed;
}

.pagination .page:hover:not(.active):not(.disabled) {
  background: #c8d3e9;
}

.quote-back {
  text-align: right;
  margin-top: 18px;
}
.btn-back {
  color: #236da9;
  text-decoration: none;
  font-weight: 650;
  font-size: 1em;
  transition: color 0.2s;
}
.btn-back:hover {
  color: #143a58;
}

@media (max-width: 700px) {
  .quote-detail-container {
    padding: 18px 2vw;
  }
  .quote-info {
    grid-template-columns: 1fr;
  }
  .quote-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Tableau de bord client */
:root {
  --color-primary: #15497a;
  --color-secondary: #f7c948;
  --color-bg-light: #f6f8fb;
  --color-text-dark: #23425a;
  --color-card-bg: #fff;
  --color-card-shadow: rgba(0, 0, 0, 0.1);
  --color-btn-bg: var(--color-secondary);
  --color-btn-bg-hover: #ffdb65;
  --color-btn-text: #1d2d4a;
  --color-btn-text-hover: #143450;
}

body {
  background: var(--color-bg-light);
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.dashboard-wrapper.no-sidebar {
  display: flex;
  justify-content: center;
  padding: 40px 12px;
  min-height: 100vh;
  box-sizing: border-box;
}

.dashboard-main {
  max-width: 900px;
  width: 100%;
  padding: 0 20px 40px;
  box-sizing: border-box;
  background: var(--color-card-bg);
  border-radius: 12px;
  box-shadow: 0 2px 16px var(--color-card-shadow);
  transition: box-shadow 0.3s ease;
}
.dashboard-main:hover {
  box-shadow: 0 8px 30px rgba(21, 73, 122, 0.3);
}

.dashboard-header {
  display: flex;
  justify-content: flex-end;
  padding: 20px 0;
  border-bottom: 1px solid #e5e9f2;
  margin-bottom: 28px;
  user-select: none;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.user-avatar {
  background: var(--color-primary);
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25em;
  cursor: default;
}
.user-name {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.05em;
}
/* 
.dashboard-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 36px;
  user-select: none;
}
.dashboard-card {
  background: var(--color-card-bg);
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--color-card-shadow);
  padding: 22px 24px;
  flex: 1 1 calc(50% - 24px);
  min-width: 230px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
} */
.dashboard-card:hover {
  box-shadow: 0 8px 26px rgba(21, 73, 122, 0.3);
  transform: translateY(-6px);
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 20px 0;
}

/* Ajustements pour les écrans plus petits */
@media (max-width: 1200px) {
  .dashboard-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-cards {
    grid-template-columns: 1fr;
  }
}

/* Style pour chaque carte */
.dashboard-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Styles pour la page de détails de devis en concurrence */
.devis-container {
  max-width: 1100px;
  margin: 30px auto;
  font-family: 'Poppins', Arial, sans-serif;
  color: #333;
  background-color: #f9fafb;
  padding: 20px;
  border-radius: 10px;
}

/* En-tête du devis */
.devis-header {
  margin-bottom: 30px;
  position: relative;
}

.devis-title {
  color: #15497a;
  font-size: 16px !important;
  font-weight: 700;
  margin: 0 0 15px 0;
  letter-spacing: 0.5px;
  border-bottom: 3px solid #15497a;
  padding-bottom: 10px;
  display: inline-block;
}

.devis-status {
  display: inline-block;
  background-color: #e4ffd3;
  color: #348833;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: absolute;
  top: 0;
  right: 0;
}

/* Sections */
.devis-info-section,
.devis-offers-section {
  background: white;
  border-radius: 10px;
  /* box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08); */
  margin-bottom: 25px;
  padding: 25px;
  position: relative;
}

.section-title {
  color: #15497a;
  font-size: 16px !important;
  font-weight: 600;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
}

/* Icones */
.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  top: 2px;
}

.info-icon::before {
  content: '\1F4C3';
  margin-right: 8px;
}

.calendar-icon::before {
  content: '\1F4C5';
  margin-right: 8px;
}

.deadline-icon::before {
  content: '\23F3';
  margin-right: 8px;
}

.target-icon::before {
  content: '\1F3AF';
  margin-right: 8px;
}

.status-icon::before {
  content: '\1F4CA';
  margin-right: 8px;
}

.budget-icon::before {
  content: '\1F4B0';
  margin-right: 8px;
}

.domain-icon::before {
  content: '\1F4BC';
  margin-right: 8px;
}

.desc-icon::before {
  content: '\1F4DD';
  margin-right: 8px;
}

.location-icon::before {
  content: '\1F4CD';
  margin-right: 8px;
}

.attachment-icon::before {
  content: '\1F4CE';
  margin-right: 8px;
}

/* Grille d'informations */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.info-row {
  display: flex;
  flex-direction: column;
  padding: 10px 15px;
  background-color: #f9fafb;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.info-row:hover {
  background-color: #f0f4f8;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.info-label {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 5px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.info-value {
  font-size: 16px;
  color: #111827;
  font-weight: 500;
}

.status-active {
  color: #059669;
  font-weight: 600;
}

.info-description,
.info-address,
.info-attachments {
  margin-top: 15px;
  padding: 15px;
  background-color: #f9fafb;
  border-radius: 8px;
}

.attachment-link {
  display: inline-block;
  color: #15497a;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 15px;
  background-color: #e0f2fe;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.attachment-link:hover {
  background-color: #bae6fd;
  color: #0c4a6e;
}

/* Section des offres */
.offers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.pagination-info {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.offers-table-responsive {
  overflow-x: auto;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
}

.offers-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.offers-table th {
  background-color: #f3f4f6;
  color: #374151;
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid #e5e7eb;
  font-size: 14px;
}

.offers-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
}

.offers-table tr:last-child td {
  border-bottom: none;
}

.offers-table tr:hover td {
  background-color: #f9fafb;
}

.provider-name {
  font-weight: 600;
  color: #111827;
}

.label {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.label-expert {
  background-color: #d1fae5;
  color: #059669;
}

.label-pro {
  background-color: #dbeafe;
  color: #2563eb;
}

.label-creative {
  background-color: #fef3c7;
  color: #d97706;
}

.price {
  font-weight: 700;
  color: #15497a;
  font-size: 16px;
}

.message {
  max-width: 250px;
  line-height: 1.5;
  color: #4b5563;
}

.actions {
  white-space: nowrap;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-right: 5px;
  text-align: center;
}

.btn-accept {
  background-color: #4f46e5;
  color: white;
  margin-right: 5px;
  transition: all 0.2s ease;
}

.btn-accept:hover {
  background-color: #4338ca;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

.btn-message {
  background-color: #f3f4f6;
  color: #4b5563;
  transition: all 0.2s ease;
  border: 1px solid #d1d5db;
}

.btn-message:hover {
  background-color: #e5e7eb;
  color: #111827;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  background-color: #f3f4f6;
  color: #374151;
}

.page-link:hover {
  background-color: #e5e7eb;
}

.page-link.active {
  background-color: #15497a;
  color: white;
}

.page-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Styles pour le système d'onglets */
.tabs {
  display: flex;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 25px;
  padding: 0 10px;
}

.tab {
  padding: 15px 20px;
  margin-right: 8px;
  font-weight: 700;
  color: #6b7280;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px 8px 0 0;
}

span.badge.open-modal {
  border: 1px solid;
  padding-left: 5px;
  padding-right: 6px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  background-color: #3498db;
  color: white;
}

/* .tab:hover {
  color: #4f46e5;
  background-color: #f5f7ff;
} */

.tab.active {
  color: #fff;
  background-color: #3498db;
  /* box-shadow: 0 -2px 8px rgba(79, 70, 229, 0.1); */
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #3498db;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
  padding: 10px;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tab-content.active {
  display: block;
}

/* Styles pour les icônes et le texte des onglets */
.tab i {
  font-size: 16px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.tab:hover i {
  transform: scale(1.2);
}

.tab.active i {
  transform: scale(1.2);
}

.tab-text {
  font-size: 15px;
  letter-spacing: 0.3px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Styles responsifs pour les onglets */
@media (max-width: 768px) {
  .tabs {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 5px;
  }
  
  .tab {
    padding: 12px 15px;
    margin-right: 4px;
    margin-bottom: 5px;
    width: calc(33.33% - 8px);
    justify-content: center;
  }
  
  .tab-text {
    font-size: 14px;
  }
  
  .tab i {
    font-size: 14px;
  }
  
  .tab-content {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .tab {
    width: calc(50% - 8px);
  }
}

/* Styles pour la section des offres */
.devis-offers-section {
  margin-top: 0;
}

/* Bouton de retour */
.devis-actions {
  margin-top: 30px;
}

.btn-back {
  background-color: #f3f4f6;
  color: #374151;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.btn-back:hover {
  background-color: #e5e7eb;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .devis-status {
    position: static;
    margin-bottom: 15px;
    display: inline-block;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .offers-table {
    min-width: 650px;
  }
  
  .devis-title {
    font-size: 22px;
    display: block;
  }
}
.card-icon span {
  font-size: 2.2em;
  user-select: none;
  pointer-events: none;
}
.card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card-label {
  color: #697b9a;
  font-size: 1.04em;
  margin-bottom: 5px;
}
.card-value {
  font-size: 1.45em;
  font-weight: 700;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.dashboard-actions {
  margin: 26px 0 44px 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.action-btn {
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 22px;
  font-weight: 600;
  font-size: 1.06em;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.09);
  transition: background 0.2s ease, transform 0.2s ease;
  user-select: none;
  text-align: center;
  display: inline-block;
}
.action-btn:hover {
  background: var(--color-btn-bg-hover);
  color: var(--color-btn-text-hover);
  transform: translateY(-2px);
}

.dashboard-history {
  background: var(--color-card-bg);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 2px 14px var(--color-card-shadow);
  margin-bottom: 18px;
  max-width: 900px;
}
.dashboard-history h3 {
  font-size: 1.15em;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 18px;
}
.dashboard-history ul {
  margin: 0;
  padding-left: 22px;
}
.dashboard-history li {
  margin-bottom: 12px;
  color: #61708b;
  font-size: 1.04em;
  line-height: 1.36;
  user-select: text;
}

@media (max-width: 650px) {
  .dashboard-cards {
    flex-direction: column;
    gap: 14px;
  }
  .dashboard-card {
    flex: 1 1 100%;
  }
  .dashboard-actions {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
  }
  .action-btn {
    width: 100%;
    text-align: center;
  }
}

/* Offres reçues - Style tableau */
.offers-table-container {
  max-width: 1140px;
  margin: 36px auto 60px;
  padding: 0 20px;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.offers-table-container h2 {
  color: #15497a;
  font-size: 1.9rem;
  margin-bottom: 28px;
  font-weight: 700;
}

.table-responsive {
  overflow-x: auto;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background: #fff;
}

.offers-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 15px;
}

.offers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.pagination-info {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.offers-table thead {
  background-color: #f8fafc;
}

.offers-table th {
  text-align: left;
  padding: 16px 20px;
  font-weight: 700;
  color: #15497a;
  border-bottom: 2px solid #e5e7eb;
  white-space: nowrap;
}

.offers-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
}

.offers-table tr:last-child td {
  border-bottom: none;
}

.offers-table tr:hover td {
  background-color: #f9fafb;
}

.provider-name {
  font-weight: 700;
  color: #23425a;
}

.label {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.label-expert {
  background-color: #e3f2fd;
  color: #0277bd;
}

.label-pro {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.label-creative {
  background-color: #fff3e0;
  color: #e65100;
}

.price {
  font-weight: 600;
  color: #111827;
}

.message {
  font-style: italic;
  color: #556a7c;
  max-width: 300px;
}

.actions {
  white-space: nowrap;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-right: 8px;
  text-align: center;
}

.btn:last-child {
  margin-right: 0;
}

.btn-accept {
  background: #16a34a;
  color: white;
  border: none;
}

.btn-accept:hover {
  background: #13843a;
}

.btn-message {
  background: #e3e8fd;
  color: #15497a;
  border: none;
}

.btn-message:hover {
  background: #cdd7fb;
}

/* Styles pour la sidebar */


/* Styles pour le contenu principal avec sidebar */
.content-with-sidebar {
  display: flex;
  width: 100%;
}

.main-content {
  flex: 1;
  overflow-x: hidden;
  min-width: 0; /* Important pour éviter le débordement */
}

/* Styles de pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  gap: 5px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  font-weight: 600;
  color: #4b5563;
  background-color: #f9fafb;
  text-decoration: none;
  transition: all 0.2s ease;
}

.page-link:hover {
  background-color: #e5e7eb;
  color: #111827;
}

.page-link.active {
  background-color: #4f46e5;
  color: white;
}

.page-link.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

/* Styles pour le tableau de bord client */
.dashboard-wrapper.no-sidebar {
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e7eb;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  background-color: #2c2e43;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
}

.user-name {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
}

.dashboard-date {
  font-size: 16px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Styles pour les statistiques */
.dashboard-stats {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.stats-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stats-period select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background-color: #f9fafb;
  font-size: 14px;
  color: #4b5563;
  cursor: pointer;
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dashboard-card {
  background-color: #f9fafb;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.card-icon {
  width: 50px;
  height: 50px;
  background-color: #2c2e43;
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.card-content {
  flex: 1;
}

.card-label {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 5px;
  display: block;
}

.card-value {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
  display: block;
}

.card-progress {
  margin-top: 10px;
}

.progress-bar {
  height: 6px;
  background-color: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 5px;
}

.progress-fill {
  height: 100%;
  background-color: #15497a;
  border-radius: 3px;
}

.progress-text {
  font-size: 12px;
  color: #6b7280;
}

/* Styles pour le graphique */
.dashboard-chart {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.dashboard-chart h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chart-container {
  height: 300px;
  position: relative;
}

/* Styles pour les actions rapides */
.dashboard-actions {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.dashboard-actions h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 15px;
  background-color: #f9fafb;
  border-radius: 8px;
  text-decoration: none;
  color: #1f2937;
  transition: all 0.3s ease;
  text-align: center;
  gap: 10px;
}

.action-btn i {
  font-size: 24px;
  color: #15497a;
  margin-bottom: 5px;
}

.action-btn span {
  font-size: 14px;
  font-weight: 500;
}

.action-btn:hover {
  background-color: #15497a;
  color: white;
  transform: translateY(-5px);
}

.action-btn:hover i {
  color: white;
}

/* Styles pour les projets en cours */
.dashboard-projects {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-all {
  font-size: 14px;
  color: #15497a;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.view-all:hover {
  text-decoration: underline;
}

.projects-table {
  width: 100%;
  border-collapse: collapse;
}

.projects-table th {
  text-align: left;
  padding: 12px 15px;
  background-color: #f9fafb;
  color: #4b5563;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid #e5e7eb;
}

.projects-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e5e7eb;
  color: #1f2937;
  font-size: 14px;
}

.project-name {
  font-weight: 500;
}

.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.status-progress {
  background-color: #dbeafe;
  color: #1e40af;
}

.status-offers {
  background-color: #fef3c7;
  color: #92400e;
}

.status-waiting {
  background-color: #f3f4f6;
  color: #6b7280;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 4px;
  background-color: #15497a;
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-sm:hover {
  background-color: #0e355a;
}

/* Styles pour le bas du tableau de bord */
.dashboard-bottom {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

/* Styles pour l'historique des activités */
.dashboard-history {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.activity-list li {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #e5e7eb;
}

.activity-list li:last-child {
  border-bottom: none;
}

.activity-icon {
  width: 40px;
  height: 40px;
  background-color: #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15497a;
  font-size: 16px;
}

.activity-content {
  flex: 1;
}

.activity-title {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 5px;
}

.activity-details {
  color: #4b5563;
  font-size: 14px;
  margin-bottom: 5px;
}

.activity-time {
  color: #6b7280;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Styles pour les conseils */
.dashboard-tips {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.dashboard-tips h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tip-card {
  display: flex;
  gap: 15px;
  background-color: #f0f9ff;
  border-radius: 8px;
  padding: 15px;
}

.tip-icon {
  width: 40px;
  height: 40px;
  background-color: #15497a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.tip-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 10px 0;
}

.tip-content p {
  font-size: 14px;
  color: #4b5563;
  margin: 0 0 15px 0;
}

.tip-link {
  color: #15497a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tip-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1400px) {
  .dashboard-wrapper.no-sidebar {
    padding: 15px;
    max-width: 100%;
  }
}

@media (max-width: 1200px) {
  .dashboard-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .action-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dashboard-bottom {
    grid-template-columns: 1fr;
  }
  
  .chart-container {
    height: 250px;
  }
}

@media (max-width: 992px) {
  .dashboard-main {
    gap: 20px;
  }
  
  .dashboard-stats,
  .dashboard-chart,
  .dashboard-actions,
  .dashboard-projects,
  .dashboard-history,
  .dashboard-tips {
    padding: 15px;
  }
  
  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .card-value {
    font-size: 20px;
  }
  
  .action-btn {
    padding: 15px 10px;
  }
}

@media (max-width: 768px) {
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .dashboard-cards {
    grid-template-columns: 1fr;
  }
  
  .action-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .projects-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .chart-container {
    height: 200px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .view-all {
    align-self: flex-end;
  }
}

@media (max-width: 576px) {
  .dashboard-wrapper.no-sidebar {
    padding: 10px;
  }
  
  .dashboard-main {
    gap: 15px;
  }
  
  .action-buttons {
    grid-template-columns: 1fr;
  }
  
  .dashboard-card {
    padding: 15px;
  }
  
  .activity-list li {
    flex-direction: column;
    gap: 10px;
  }
  
  .activity-icon {
    margin-bottom: 5px;
  }
  
  .tip-card {
    flex-direction: column;
  }
  
  .tip-icon {
    margin-bottom: 10px;
  }
}

/* Styles pour les indicateurs de chargement et notifications */
.loading-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background-color: rgba(21, 73, 122, 0.1);
  border-radius: 4px;
  color: #15497a;
  font-size: 14px;
  margin-left: 15px;
}

.loading-indicator i {
  margin-right: 8px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.update-notification {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background-color: #d1fae5;
  border-radius: 4px;
  color: #047857;
  font-size: 14px;
  margin-left: 15px;
  animation: fadeIn 0.3s ease-in-out;
}

.update-notification i {
  margin-right: 8px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Styles pour la galerie de médias */
.media-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
  margin-bottom: 25px;
}

.media-item {
  width: calc(33.333% - 10px);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.media-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.project-media {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
}

.video-item .project-media {
  height: 100%;
}

.media-caption {
  padding: 10px;
  background-color: #f8fafc;
  font-size: 14px;
  color: #4b5563;
  text-align: center;
  font-weight: 500;
}

@media (max-width: 768px) {
  .media-item {
    width: calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .media-item {
    width: 100%;
  }
}

/* Styles pour les tableaux responsifs */
.table-responsive {
  overflow-x: auto;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
}

/* Styles responsifs pour le tableau */
@media (max-width: 768px) {
  .offers-table th,
  .offers-table td {
    padding: 12px 16px;
  }
  
  .message {
    max-width: 200px;
  }
}

@media (max-width: 640px) {
  .offers-table {
    font-size: 14px;
  }
  
  .offers-table th,
  .offers-table td {
    padding: 10px 12px;
  }
  
  .btn {
    padding: 6px 12px;
    font-size: 12px;
    display: block;
    margin-bottom: 6px;
    margin-right: 0;
  }
  
  .message {
    max-width: 150px;
  }
}

 /* Styles responsives pour le tableau des offres */
 .offers-table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.offers-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background-color: #fff;
  font-size: 14px;
}

.offers-table thead {
  background-color: #f8f9fa;
}

.offers-table th {
  padding: 15px 10px;
  text-align: left;
  font-weight: 600;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
  white-space: nowrap;
}

.offers-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e9ecef;
  vertical-align: middle;
}

.offers-table tbody tr:hover {
  background-color: #f8f9fa;
}

.offers-table .provider-name {
  font-weight: 600;
  color: #212529;
}

.offers-table .provider-email {
  color: #6c757d;
  font-size: 13px;
}

.offers-table .price {
  font-weight: 600;
  color: #28a745;
}

.offers-table .message {
  max-width: 250px;
  white-space: normal;
  line-height: 1.4;
}

.offers-table .actions {
  white-space: nowrap;
  text-align: right;
}

/* Styles pour les boutons d'action */
.offers-table .btn {
  display: inline-block;
  padding: 6px 12px;
  margin: 2px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s ease;
}

.offers-table .btn-accept {
  background-color: #28a745;
  color: white;
}

.offers-table .btn-accept:hover {
  background-color: #218838;
}

.offers-table .btn-message {
  background-color: #6c757d;
  color: white;
}

.offers-table .btn-message:hover {
  background-color: #5a6268;
}

/* Responsive pour petits écrans */
@media screen and (max-width: 768px) {
  .offers-table-wrapper {
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 0;
  }
  
  .offers-table th,
  .offers-table td {
    padding: 10px 8px;
  }
  
  .offers-table .message {
    max-width: 150px;
  }
  
  .offers-table .btn {
    padding: 5px 8px;
    font-size: 12px;
  }
}

/* Pour très petits écrans, afficher les boutons en colonne */
@media screen and (max-width: 576px) {
  .offers-table .actions {
    display: flex;
    flex-direction: column;
  }
  
  .offers-table .btn {
    margin: 2px 0;
  }
}

/* Styles pour les notifications */
.notification {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  font-size: 15px;
  transition: opacity 0.3s ease;
  animation: fadeIn 0.5s ease-in-out;
}

.notification i {
  margin-right: 10px;
  font-size: 18px;
}

.notification.success {
  background-color: #d4edda;
  color: #155724;
  border-left: 5px solid #28a745;
}

.notification.error {
  background-color: #f8d7da;
  color: #721c24;
  border-left: 5px solid #dc3545;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


@media screen and (min-width: 768px) {
  .mobile-menu-btn{
    display: none !important
  }
}

/* Responsive pour menue sidebar */
@media screen and (max-width: 768px) {
  
  .projet-container {
    padding: 15px !important;
  }

  .projet-container .row {
    display: block !important;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .projet-container .card {
    width: 100% !important;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .notification-text{
    font-size: 14px !important;
  }
  .notification-icon{
    display: none !important;
  }
  aside.sidebar{
    margin-left: 15px !important;
    margin-right: 15px !important;
    width:30% !important;
  }
  /* .menu-sidebar{
    display: none;
  } */
  
  
  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }
  .menu-sidebar.active {
    display: block !important;
}

.overlay.active {
    display: block !important;
}
}