/* public/louer/louer.css */

/* Header blanc + texte gris (sans casser ton style global) */
.hero-section { background: #fff !important; }
.hero-section::before{ display:none !important; }
.hero-inner, .triocar{ display:none !important; }

.site-header{ background:#fff !important; }
.header-container{ padding:18px 24px; }

.nav a{ color:#64748b !important; }
.nav a:hover{ color:#0f172a !important; opacity:1 !important; }

.contact-phone{
  background: rgba(15,23,42,.06) !important;
  color:#334155 !important;
}
.phone-text strong{ color:#0f172a !important; }

/* Page louer */
.rent-wrap{
  padding-top: 10px;;
  max-width:1200px;
  margin:0 auto;
  padding:34px 24px 10px;
}

.rent-head{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  border-radius:18px;
  padding:22px;
}

.rent-title{
  font-size:34px;
  font-weight:700;
  color:#383d49;
  margin:0;
  line-height:1.15;
}

.rent-sub{
  margin-top:10px;
  color:#475569;
  font-weight:700;
  max-width:850px;
  line-height:1.7;
}

/* ===== Tablettes ===== */
@media (max-width: 1024px){
  .rent-title{
    font-size:28px;
  }
}

/* ===== Téléphones ===== */
@media (max-width: 768px){
  .rent-title{
    font-size:23px;
    line-height:1.3;
    text-align:left;
  }

  .rent-sub{
    font-size:14px;
    line-height:1.6;
  }

  .rent-head{
    padding:18px;
  }
}

/* ===== Petits téléphones ===== */
@media (max-width: 480px){
  .rent-title{
    font-size:21px;
  }

  .rent-wrap{
    padding:20px 14px;
  }
}


/* Searchbox location (custom) */
.rent-search{
  margin-top:18px;
  background:#fff;
  border:1px solid rgba(37,92,99,.12);
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
  border-radius:18px;
  padding:16px;
}

.rs-row{ display:grid; gap:12px; }
.rs-row.two{ grid-template-columns: 1fr auto; align-items:end; }
.rs-row.two .rs-field{ margin:0; }

.rs-field label{
  display:block;
  font-weight:700;
  font-size:13px;
  color:#0f172a;
  margin-bottom:8px;
}

.rs-input{
  width:100%;
  height:52px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  padding:0 14px;
  outline:none;
  background:#fff;
  font-size:15px;
}

.rs-input:focus{
  border-color: rgba(37,92,99,.55);
}

.rs-actions{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  margin-top:12px;
  flex-wrap:wrap;
}

.rs-btn{
  height:52px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  font-weight:900;
  cursor:pointer;
}

.rs-btn.primary{
  background: var(--teal);
  color:#fff;
  border-color: transparent;
}

.rs-adv{
  display:none;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(0,0,0,.06);
}

.rs-adv.is-open{ display:block; }

.rs-adv-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
}

.rs-help{
  margin-top:10px;
  color:#64748b;
  font-weight:800;
  font-size:12px;
}

/* Results */
.rent-results{
  max-width:1200px;
  margin:0 auto;
  padding:14px 24px 40px;
}

.rent-meta{
  margin:16px 0 8px;
  color:#64748b;
  font-weight:800;
}

/* ===== Spinner overlay ===== */
.dgs-spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ===== Spinner ===== */
.dgs-spinner {
  width: 56px;
  height: 56px;
  border: 5px solid rgba(37,92,99,0.2);
  border-top-color: #255C63;
  border-radius: 50%;
  animation: dgs-spin 0.9s linear infinite;
}
/* ===== Pagination (style comme ton image) ===== */
.dgs-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:28px 0 10px;
}

.dgs-page{
  width:44px;
  height:44px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color:#0f172a;
  text-decoration:none;
  background:transparent;
  border:1px solid transparent;
}

.dgs-page:hover{
  background: rgba(15,23,42,.06);
}

.dgs-page.is-active{
  background:#0b3a66; /* bleu foncé */
  color:#fff;
}

.dgs-page.is-disabled{
  opacity:.35;
  pointer-events:none;
}

.dgs-page.dgs-arrow{
  font-size:20px;
  line-height:1;
}

/* ===== Nav active ===== */
.nav a.is-active{
  color:#0f172a;
  font-weight:900;
  position:relative;
}

.nav a.is-active::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:-6px;
  height:3px;
  border-radius:3px;
  background:#255C63; /* même vert que le site */
}



@keyframes dgs-spin {
  to { transform: rotate(360deg); }
}


@media (max-width: 900px){
  .rs-adv-grid{ grid-template-columns: 1fr; }
  .rs-row.two{ grid-template-columns: 1fr; }
}

