/* ---------- base ---------- */
body { background: #f6f7f9; }
.container-fluid { max-width: 1400px; }

/* ---------- login ---------- */
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1e293b, #334155);
}
.login-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  width: min(380px, 92vw);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.login-card h1 { font-size: 1.25rem; margin: 0 0 .5rem; }
.login-card label { display: flex; flex-direction: column; font-size: .9rem; gap: .25rem; }
.login-card input { padding: .5rem .6rem; border: 1px solid #cbd5e1; border-radius: 6px; }
.login-card button {
  padding: .6rem; border: 0; border-radius: 6px;
  background: #2563eb; color: #fff; font-weight: 600; cursor: pointer;
}
.login-card button:hover { background: #1d4ed8; }
.login-error { color: #dc2626; font-size: .9rem; margin: 0; }

/* ---------- search results ---------- */
#search-results { max-height: 320px; overflow-y: auto; }

/* ---------- country tabs ---------- */
.country-tab { min-width: 72px; font-weight: 600; }

/* ---------- testimonial cards ---------- */
.testimonial-card { transition: box-shadow .15s; }
.testimonial-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.testimonial-card.inactive { opacity: .6; }
.testimonial-thumb {
  width: 48px; height: 48px; object-fit: cover; border-radius: 6px;
  background: #e5e7eb;
}
.placeholder-thumb {
  display: grid; place-items: center;
  font-size: .65rem; color: #94a3b8;
}

/* ---------- images in modal ---------- */
.image-tile {
  position: relative;
  width: 96px; height: 96px;
  border-radius: 8px; overflow: hidden;
  border: 1px solid #e5e7eb;
  cursor: grab;
}
.image-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-tile .image-remove {
  position: absolute; top: 4px; right: 4px;
  opacity: .85;
}

/* ---------- drag feedback ---------- */
[draggable="true"] { cursor: grab; }
[draggable="true"]:active { cursor: grabbing; }
.testimonial-card.dragging { opacity: .5; }