/* NEW OVERRIDING DESIGN */

body {
  background-image: none !important;
  background-color: #ccd3cc;
}

.side {
  background-color: #ccd3cc !important;
}

/* to change in styles */

.directory-primary {
  background-color: #256F73 !important;
}

.bg-secondary {
  background-color: #256F73 !important;
}

/* Scope everything to aw- classes to avoid Bootstrap collisions */
.aw-cookie-banner{
  position:fixed; right:16px; bottom:16px;
  max-width:420px; z-index:9999;
  background:#0f172a; color:#fff; border-radius:10px;
  padding:14px; box-shadow:0 6px 20px rgba(0,0,0,.25);
  display:flex; gap:12px; align-items:center;
}
.aw-cookie-banner[hidden]{display:none !important;}
.aw-cookie-text{flex:1; font-size:14px; line-height:1.35;}
.aw-cookie-actions{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}
.aw-btn{cursor:pointer; border-radius:8px; padding:8px 12px; font-size:14px; border:1px solid transparent; line-height:1}
.aw-btn-primary{background:#16a34a; color:#fff}
.aw-btn-outline{background:transparent; color:#fff; border-color:#475569}
.aw-btn-ghost{background:transparent; color:#0f172a; border:1px solid #e5e7eb}
.aw-link{background:transparent; border:0; color:#93c5fd; text-decoration:underline; padding:0; cursor:pointer}

@media (max-width:480px){
  .aw-cookie-banner{left:16px; right:16px}
}

/* Modal */
.aw-cookie-modal{position:fixed; inset:0; background:rgba(15,23,42,.6); display:none; z-index:10000}
.aw-cookie-modal[aria-hidden="false"]{display:grid; place-items:center}
.aw-cookie-card{width:min(520px,94vw); background:#fff; color:#0f172a; border-radius:12px; padding:18px; box-shadow:0 10px 30px rgba(0,0,0,.25)}
.aw-title{margin:0 0 8px 0; font-size:20px}
.aw-row{display:flex; align-items:center; gap:10px; margin:12px 0}
.aw-label{font-weight:600}
.aw-sub{font-size:12px; color:#64748b}
.aw-note{font-size:12px; color:#64748b}

/* Toggle switch */
.aw-switch{position:relative; display:inline-block; width:46px; height:26px}
.aw-switch input{opacity:0; width:0; height:0}
.aw-slider{position:absolute; cursor:pointer; inset:0; background:#cbd5e1; border-radius:999px; transition:.2s}
.aw-slider:before{content:""; position:absolute; height:20px; width:20px; left:3px; top:3px; background:#fff; border-radius:50%; transition:.2s; box-shadow:0 1px 2px rgba(0,0,0,.2)}
.aw-switch input:checked + .aw-slider{background:#16a34a}
.aw-switch input:checked + .aw-slider:before{transform:translateX(20px)}

input#aw-personalised {
    position: relative;
    opacity: 1;
}

.aw-listing-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #97999b;
  padding: 16px 18px 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.aw-listing-card:hover {
  border-color: #cbd5f5;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.aw-listing-card__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aw-listing-card__name {
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0;
  color: #0f172a;
}

.aw-listing-card__name a {
  color: inherit;
  text-decoration: none;
}

.aw-listing-card__name a:hover {
  text-decoration: underline;
}

.aw-listing-card__badge {
  margin-top: 6px;
}

.aw-listing-card__category {
  font-size: 0.9rem;
  color: #64748b;
}

.aw-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #0f766e;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
}

.aw-pill__icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #ecfdf5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #0f766e;
}

.aw-listing-card__description {
  margin: 8px 0 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #334155;
}

.aw-listing-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.86rem;
  color: #475569;
}

.aw-listing-card__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aw-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}

.aw-icon--pin::before {
  content: "📍";
  position: absolute;
  inset: -1px 0 0;
  font-size: 16px;
}

.aw-icon--phone::before {
  content: "☎";
  position: absolute;
  inset: -1px 0 0;
  font-size: 15px;
}

.aw-icon--mail::before {
  content: "✉";
  position: absolute;
  inset: -4px 0 0;
  font-size: 22px;
}

.aw-listing-card__footer {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.aw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.aw-btn--primary {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff !important;
}

.aw-btn--primary:hover {
  background: #115e57;
  border-color: #115e57;
}

.aw-btn--ghost {
  background: #ffffff;
  border-color: #97999b;
  color: #0f172a;
}

.aw-btn--ghost:hover {
  background: #f8fafc;
}

.btn-remove-service {
  font-size: 30px;
  padding: 0 20px;
  margin: 0 20px;
  line-height: 0;
  border: none;
  box-shadow: none;
}

.add-my-site-form label {
  font-weight: 700;
}
.add-my-site-form .form-control {
  border: 1px solid #9ea2a6;
}
#services-wrapper .service-row:first-child .btn-remove-service {
  display: none;
}