/* Espace client JKECH */
.compte-body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(201, 162, 84, 0.12), transparent 55%),
    linear-gradient(180deg, #0f1412 0%, #1a211c 40%, #121714 100%);
  color: #f4efe6;
  font-family: "Outfit", system-ui, sans-serif;
}

.compte-shell {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 3.5rem;
}

.compte-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.compte-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.compte-brand img {
  height: 36px;
  width: auto;
}

.compte-brand span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.compte-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.compte-nav a {
  color: rgba(244, 239, 230, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 999px;
}

.compte-nav a.is-active,
.compte-nav a:hover {
  color: #1a211c;
  background: #c9a254;
  border-color: #c9a254;
}

.compte-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 239, 230, 0.1);
  border-radius: 18px;
  padding: 1.4rem 1.35rem;
  backdrop-filter: blur(8px);
}

.compte-card h1,
.compte-card h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  margin: 0 0 0.4rem;
  letter-spacing: 0.02em;
}

.compte-card h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.compte-lead {
  margin: 0 0 1.25rem;
  color: rgba(244, 239, 230, 0.7);
  line-height: 1.5;
}

.compte-form {
  display: grid;
  gap: 0.9rem;
}

.compte-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: rgba(244, 239, 230, 0.78);
}

.compte-form input,
.compte-form textarea,
.compte-form select {
  width: 100%;
  border: 1px solid rgba(244, 239, 230, 0.16);
  background: rgba(0, 0, 0, 0.25);
  color: #f4efe6;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
}

.compte-form input:focus,
.compte-form textarea:focus {
  outline: 2px solid rgba(201, 162, 84, 0.45);
  border-color: #c9a254;
}

.compte-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.compte-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.compte-btn-gold {
  background: #c9a254;
  color: #1a211c;
}

.compte-btn-outline {
  background: transparent;
  color: #f4efe6;
  border: 1px solid rgba(244, 239, 230, 0.28);
}

.compte-btn-ghost {
  background: transparent;
  color: rgba(244, 239, 230, 0.75);
  border: 0;
  text-decoration: underline;
  padding-inline: 0.2rem;
}

.compte-error,
.compte-ok {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.compte-error {
  background: rgba(180, 50, 50, 0.2);
  border: 1px solid rgba(255, 120, 120, 0.35);
  color: #ffd0d0;
}

.compte-ok {
  background: rgba(60, 140, 90, 0.18);
  border: 1px solid rgba(120, 200, 140, 0.35);
  color: #d8ffe4;
}

.compte-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1rem;
}

.compte-stat {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(244, 239, 230, 0.08);
}

.compte-stat strong {
  display: block;
  font-size: 1.55rem;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.compte-stat span {
  color: rgba(244, 239, 230, 0.65);
  font-size: 0.86rem;
}

.compte-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.compte-item {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(244, 239, 230, 0.08);
}

.compte-item h3 {
  margin: 0;
  font-size: 1.15rem;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.compte-meta {
  margin: 0;
  color: rgba(244, 239, 230, 0.68);
  font-size: 0.9rem;
  line-height: 1.45;
}

.compte-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(201, 162, 84, 0.18);
  color: #e8d3a0;
}

.compte-badge.is-confirmed {
  background: rgba(70, 160, 100, 0.22);
  color: #b8f0c8;
}

.compte-badge.is-cancelled {
  background: rgba(160, 70, 70, 0.22);
  color: #ffc4c4;
}

.compte-empty {
  color: rgba(244, 239, 230, 0.65);
  padding: 1rem 0;
}

.compte-fav-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 1rem;
}

.compte-fav-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, 0.1);
  background: #0d110f;
  text-decoration: none;
  color: inherit;
  display: block;
}

.compte-fav-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.compte-fav-card .body {
  padding: 0.85rem 0.95rem 1rem;
}

.compte-fav-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.listing-fav {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 0;
  background: rgba(15, 20, 18, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.listing-fav.is-on {
  color: #e2556b;
  background: rgba(255, 255, 255, 0.92);
}

.listing-card {
  position: relative;
}

.listing-card .listing-fav {
  pointer-events: auto;
}

.villa-fav-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.65rem 0 0.35rem;
  font-size: 0.9rem;
}

.villa-fav-row .listing-fav {
  position: static;
}

.villa-booking-panel {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(26, 33, 28, 0.12);
  background: rgba(255, 255, 255, 0.55);
}

.villa-booking-panel h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.villa-booking-panel .row {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0.65rem;
}

.villa-booking-panel label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.82rem;
}

.villa-booking-panel input {
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

@media (max-width: 640px) {
  .compte-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .villa-booking-panel .row {
    grid-template-columns: 1fr;
  }
}

.compte-pay-hint {
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(244, 239, 230, 0.55);
}
