/* Espace partenaire ReservChap — par-dessus le tableau de bord GoTrip */

.header.-dashboard { height: 90px; border-bottom: 1px solid var(--color-border); }
.rc-partner-logo { display: flex; align-items: center; gap: 10px; }
.header-logo.rc-partner-logo img { height: 44px; width: auto; max-width: none; object-fit: contain; }
.rc-partner-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--color-blue-1); background: #fff0eb; border-radius: 4px; padding: 3px 8px; }
@media (max-width: 767px) { .rc-partner-tag { display: none; } .header-logo.rc-partner-logo img { height: 36px; } }

.sidebar.-dashboard .sidebar__item + .sidebar__item { margin-top: 4px; }
.sidebar.-dashboard .sidebar__button { color: var(--color-dark-1); background: none; border: 0; }
.sidebar.-dashboard a.sidebar__button:hover, .sidebar.-dashboard button.sidebar__button:hover { background-color: rgba(255,102,51,.05); color: var(--color-blue-1); }
.rc-soon { font-size: 11px; font-weight: 500; background: var(--color-light-2); color: var(--color-light-1); padding: 2px 8px; border-radius: 100px; }

/* Cartes indicateurs */
.rc-kpi { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rc-kpi__icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
@media (min-width: 1400px) and (max-width: 1600px) { .rc-kpi .text-26 { font-size: 22px; } }
.rc-kpi__icon.-orange { background: #fff0eb; color: var(--rc-orange); }
.rc-kpi__icon.-navy { background: #ebebf8; color: var(--rc-navy); }
.rc-kpi__icon.-green { background: #e6f8ea; color: #00911a; }
.rc-kpi__icon.-yellow { background: var(--color-yellow-4); color: var(--color-yellow-3); }

/* Tableaux */
.rc-table { width: 100%; border-collapse: collapse; }
.rc-table th { font-size: 14px; font-weight: 500; color: var(--color-dark-1); background: var(--color-light-2); padding: 14px 16px; text-align: left; white-space: nowrap; }
.rc-table td { font-size: 14px; padding: 14px 16px; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.rc-table tr:last-child td { border-bottom: 0; }
.rc-status { display: inline-block; border-radius: 100px; padding: 3px 12px; font-size: 13px; font-weight: 500; white-space: nowrap; }
@media (max-width: 767px) {
  .rc-table.-stack thead { display: none; }
  .rc-table.-stack tr { display: block; border-bottom: 1px solid var(--color-border); padding: 10px 0; }
  .rc-table.-stack td { display: flex; justify-content: space-between; gap: 16px; border: 0; padding: 6px 16px; text-align: right; }
  .rc-table.-stack td::before { content: attr(data-label); color: var(--color-light-1); text-align: left; }
}

/* Formulaires (connexion, inscription, profil) */
.rc-auth-card { max-width: 560px; margin: 0 auto; }
.rc-service-option { display: flex; align-items: center; gap: 14px; border: 1px solid var(--color-border); border-radius: 8px; padding: 16px 18px; cursor: pointer; min-height: 64px; font-size: 17px; }
.rc-service-option:has(input:checked) { border-color: var(--color-blue-1); background: #fff9f6; }
.rc-service-option input[type="checkbox"] { width: 22px !important; height: 22px !important; min-width: 22px; padding: 0; margin: 0; border: 0; appearance: auto; -webkit-appearance: checkbox; accent-color: var(--rc-orange); flex: 0 0 22px; }
.rc-service-option > span:first-of-type { flex: 1 1 auto; line-height: 1.3; }
.rc-service-option i { font-size: 22px; color: var(--color-blue-1); }
.rc-service-option .rc-price { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--color-light-1); white-space: nowrap; }
.rc-password { position: relative; }
.rc-password button { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--color-blue-1); z-index: 2; }
.rc-logo-preview { width: 96px; height: 96px; border-radius: 16px; object-fit: contain; background: #fff; padding: 6px; border: 1px solid var(--color-border); }
.rc-logo-preview[hidden] { display: none !important; }
.dashboard__content { min-height: calc(100vh - 90px); }

/* Calendrier des disponibilités */
.rc-cal { border-collapse: separate; border-spacing: 0; min-width: 100%; }
.rc-cal th, .rc-cal td { border-bottom: 1px solid var(--color-border); border-right: 1px solid var(--color-border); text-align: center; padding: 6px 4px; min-width: 64px; }
.rc-cal thead th { background: var(--color-light-2); padding: 10px 4px; line-height: 1.3; }
.rc-cal thead th.is-weekend { background: #fff0eb; }
.rc-cal thead th.is-today { box-shadow: inset 0 -3px 0 var(--rc-orange); }
.rc-cal .rc-cal__room { position: sticky; left: 0; z-index: 2; background: #fff; text-align: left; min-width: 190px; padding: 10px 16px; }
.rc-cal thead .rc-cal__room { background: var(--color-light-2); }
.rc-cal__cell { width: 100%; min-height: 64px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #e9f9ec; transition: transform .1s; }
.rc-cal__cell:hover { transform: scale(1.04); }
.rc-cal__cell.is-selected { outline: 2px solid var(--rc-orange); }
.rc-cal__cell.is-limited { background: var(--color-yellow-4); }
.rc-cal__cell.is-full { background: var(--color-red-3); }
.rc-cal__cell.is-closed { background: repeating-linear-gradient(45deg, #f0f0f0, #f0f0f0 6px, #e4e4e4 6px, #e4e4e4 12px); }
.rc-cal__avail { font-size: 18px; font-weight: 600; line-height: 1; color: var(--color-dark-1); }
.rc-cal__cell.is-full .rc-cal__avail { color: var(--color-red-1); }
.rc-cal__price { font-size: 12px; color: var(--color-light-1); }
.rc-cal__booked { font-size: 11px; color: var(--color-blue-1); font-weight: 500; }
.rc-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }
.rc-dot.is-full { background: var(--color-red-3); border: 1px solid var(--color-red-1); }
.rc-dot.is-limited { background: var(--color-yellow-4); border: 1px solid var(--color-yellow-3); }
.rc-dot.is-closed { background: #e4e4e4; border: 1px solid #ccc; }

/* Cloche de notifications */
.rc-bell-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--rc-orange); color: #fff; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.rc-notif { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.rc-notif.is-unread .rc-notif__title { font-weight: 600; }
.rc-notif.is-unread::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--rc-orange); }
/* Icône dans le coin : le montant a toute la largeur de la carte */
.rc-kpi { position: relative; display: block; }
.rc-kpi > div:first-child { min-width: 0; }
.rc-kpi > div:first-child > div:first-child { padding-right: 56px; min-height: 44px; }
.rc-kpi__icon { position: absolute; top: 24px; right: 24px; }
.rc-kpi .text-26 { font-size: 24px; white-space: nowrap; }
@media (min-width: 1400px) and (max-width: 1600px) { .rc-kpi .text-26 { font-size: 22px; } }
.rc-steps { padding-left: 22px; }
.rc-steps > li { list-style: decimal outside; margin-bottom: 6px; line-height: 1.6; }
ul.rc-steps > li { list-style: disc outside; }
/* Aperçu des photos choisies avant l'envoi */
.rc-upload-preview:empty { display: none; }
.rc-upload-preview { width: 100%; flex-basis: 100%; }
.rc-upload-preview__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 10px; }
.rc-upload-preview__item { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-light-2); }
.rc-upload-preview__item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rc-upload-preview__name { display: block; font-size: 11px; padding: 4px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--color-light-1); }
.rc-upload-preview__del { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 18px; line-height: 26px; cursor: pointer; }
.rc-upload-preview__del:hover { background: #d93025; }
.rc-dark .rc-upload-preview__item { background: var(--dk-card2); border-color: var(--dk-line); }
/* Tableaux : vignettes à taille fixe (le thème réduit les images à la largeur de la colonne) et boutons sur une ligne */
.rc-table td img { max-width: none; flex: none; }
.rc-table__thumb { width: 96px; }
.rc-table__thumb img { width: 80px; height: 60px; object-fit: cover; display: block; }
.rc-table .button { white-space: nowrap; height: auto; min-height: 40px; }
/* Boost : aperçu de l'annonce avec sa photo */
.rc-boost-preview__img { position: relative; height: 170px; background: var(--color-light-2); }
.rc-boost-preview__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-boost-preview__img .rc-sponsored { position: absolute; left: 12px; bottom: 12px; }
.rc-boost-packs .rc-pay-option input { display: block; margin: 0 0 10px; }
