/* =================================================================
   ARGUS ENNAKL — Styles
   Paste in: Appearance › Customize › Additional CSS
   Site: https://www.ennakl-occasion.com
   ================================================================= */

/* ── Dynamic select wrapper ──────────────────────────────────── */
#argus-dynamic-fields {
  display: contents; /* renders children as if they were direct children of parent */
}
.argus-field-wrap {
  margin-bottom: 0;
}
.argus-field-wrap label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}
.argus-field-wrap label abbr {
  color: #C8102E;
  text-decoration: none;
  margin-left: 2px;
}
.argus-select-wrap {
  position: relative;
}
.argus-select {
  width: 100%;
  height: 44px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 0 38px 0 12px;
  font-size: 14px;
  color: #222;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}
.argus-select:focus {
  outline: none;
  border-color: #C8102E;
  box-shadow: 0 0 0 3px rgba(200,16,46,0.08);
}
.argus-select:disabled {
  background: #f8f8f8;
  color: #aaa;
  cursor: not-allowed;
  border-color: #eee;
}
/* Custom chevron arrow */
.argus-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #999;
}
/* Loading spinner inside select */
.argus-spinner {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  border: 2px solid #eee;
  border-top-color: #C8102E;
  border-radius: 50%;
  animation: argus-spin 0.7s linear infinite;
  display: none;
}
.argus-loading .argus-chevron { display: none; }

/* ── Estimate button ─────────────────────────────────────────── */
.argus-btn-estimate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  background: #C8102E;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  margin-bottom: 8px;
  box-shadow: 0 4px 18px rgba(200,16,46,0.28);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.argus-btn-estimate:hover {
  background: #a00d24;
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(200,16,46,0.38);
}
.argus-btn-estimate:disabled {
  background: #ccc;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.argus-btn-icon { font-size: 18px; line-height: 1; }
.argus-btn-loader {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: argus-spin 0.7s linear infinite;
}
@keyframes argus-spin { to { transform: rotate(360deg); } }

.argus-hint {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin: 0 0 20px;
}

/* ── Shared card base ────────────────────────────────────────── */
.argus-card {
  border-radius: 14px;
  margin-bottom: 24px;
  animation: argus-fadein 0.4s ease;
  
}
@keyframes argus-fadein {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ── Result card ─────────────────────────────────────────────── */
.argus-card--result {
  background: #1a1a1a;
  color: #fff;
  position: relative;
  
}
.argus-card--result::before {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(200,16,46,0.2) 0%, transparent 70%);
  pointer-events: none;
  
}
.argus-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 24px 0;
}
.argus-card-vehicle {
  font-size: 12px; font-weight: 600;
  color: #999; text-transform: uppercase; letter-spacing: 0.6px;
}
.argus-card-badge {
  background: rgba(200,16,46,0.18);
  border: 1px solid rgba(200,16,46,0.35);
  color: #ff8099;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  border-radius: 100px; padding: 4px 12px; flex-shrink: 0;
}
.argus-card-body { padding: 16px 24px 22px; }
.argus-price-block {
  margin-bottom: 20px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.argus-price-label {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.6px; color: #666; margin-bottom: 6px;
}
.argus-price-main {
  font-size: 44px; font-weight: 800;
  letter-spacing: -2px; line-height: 1; color: #fff; margin-bottom: 8px;
}
.argus-price-main span {
  font-size: 18px; font-weight: 400;
  letter-spacing: 0; color: #888; margin-right: 6px;
}
.argus-price-ttc { font-size: 13px; color: #777; }
.argus-price-ttc strong { color: #ccc; }
.argus-meta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px;
}
.argus-meta-item dt {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.5px; color: #555; margin-bottom: 3px;
}
.argus-meta-item dd {
  font-size: 13px; color: #bbb; font-weight: 500; margin: 0;
}
.argus-disclaimer {
  background: rgba(255,255,255,0.04);
  padding: 12px 24px; font-size: 11px;
  line-height: 1.55; color: #555;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Error card ──────────────────────────────────────────────── */
.argus-card--error {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; background: #fff5f6;
  border: 1.5px solid #ffc0cb; border-radius: 14px;
}
/* ── Empty card ──────────────────────────────────────────────── */
.argus-card--empty {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; background: #f9f9f9;
  border: 1.5px dashed #ddd; border-radius: 14px;
}
.argus-card-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.argus-card-msg strong {
  display: block; font-size: 14px;
  font-weight: 700; color: #1a1a1a; margin-bottom: 4px;
}
.argus-card-msg p {
  font-size: 13px; color: #666; margin: 0; line-height: 1.5;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .argus-price-main  { font-size: 32px; }
  .argus-meta-grid   { grid-template-columns: 1fr; }
  .argus-card-header { flex-direction: column; align-items: flex-start; }
  .argus-card-body   { padding: 14px 16px 18px; }
  .argus-disclaimer  { padding: 12px 16px; }
}
