/* =====================================================
   TAXI GRANADA – Frontend Styles
   ===================================================== */
.tg-wrap { max-width: 680px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

/* Steps */
.tg-step { background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; padding: 28px 32px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.tg-step-title { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; color: #222; margin: 0 0 24px; }
.tg-step-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #f0a500; color: #fff; font-size: 15px; font-weight: 800; flex-shrink: 0; }

/* Fields */
.tg-field { margin-bottom: 18px; }
.tg-field label { display: block; font-size: 14px; font-weight: 600; color: #444; margin-bottom: 6px; }
.tg-field input[type="text"],
.tg-field input[type="email"],
.tg-field input[type="tel"],
.tg-field input[type="datetime-local"],
.tg-field select,
.tg-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #fafafa;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.tg-field input:focus,
.tg-field select:focus,
.tg-field textarea:focus { border-color: #f0a500; box-shadow: 0 0 0 3px rgba(240,165,0,.15); outline: none; }
.tg-hint { font-size: 12px; color: #888; margin: 5px 0 0; }
.req { color: #e74c3c; }

/* Row */
.tg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .tg-row { grid-template-columns: 1fr; } }

/* Vehicle cards */
.tg-vehicle-grid { display: flex; gap: 12px; flex-wrap: wrap; }
.tg-vehicle-card { cursor: pointer; }
.tg-vehicle-card input[type="radio"] { display: none; }
.tg-vehicle-inner {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 16px 24px; border: 2px solid #ddd; border-radius: 10px;
    background: #fafafa; transition: all .2s; min-width: 130px; position: relative;
}
.tg-vehicle-card input:checked + .tg-vehicle-inner {
    border-color: #f0a500; background: #fffbf0; box-shadow: 0 0 0 3px rgba(240,165,0,.2);
}
.tg-vehicle-icon { font-size: 28px; }
.tg-vehicle-name { font-size: 14px; font-weight: 600; color: #333; text-align: center; }
.tg-vehicle-badge { background: #f0a500; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 12px; }

/* Buttons */
.tg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border: none; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all .2s; text-decoration: none; }
.tg-btn-primary  { background: #f0a500; color: #fff; }
.tg-btn-primary:hover  { background: #d4920a; transform: translateY(-1px); }
.tg-btn-success  { background: #27ae60; color: #fff; margin-top: 16px; width: 100%; }
.tg-btn-success:hover  { background: #219150; }
.tg-btn-secondary { background: #f0f0f0; color: #555; margin-right: 10px; }
.tg-btn-secondary:hover { background: #e0e0e0; }

/* Price box */
.tg-price-box { margin-top: 20px; padding: 20px 24px; background: linear-gradient(135deg, #fffbf0, #fff8e1); border: 2px solid #f0a500; border-radius: 10px; }
.tg-price-main { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.tg-price-label { font-size: 15px; color: #555; font-weight: 600; }
.tg-price-value { font-size: 34px; font-weight: 900; color: #f0a500; }
.tg-price-meta { font-size: 13px; color: #888; line-height: 1.6; }

/* Error & loading */
.tg-error { margin-top: 14px; padding: 12px 16px; background: #fdf0f0; border: 1px solid #e74c3c; border-radius: 8px; color: #c0392b; font-size: 14px; font-weight: 500; }
.tg-loading { margin-top: 12px; color: #888; font-size: 14px; }

/* Summary */
.tg-summary { background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 10px; padding: 18px 20px; margin: 20px 0; }
.tg-summary h3 { margin: 0 0 12px; font-size: 16px; color: #333; }
.tg-summary table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tg-summary td { padding: 5px 8px; vertical-align: top; }
.tg-summary td:first-child { font-weight: 600; color: #555; width: 40%; }
.tg-summary .tg-summary-price { font-size: 18px; font-weight: 800; color: #f0a500; }

/* Map preview */
.tg-map-preview { width: 100%; height: 200px; border-radius: 8px; margin-top: 10px; border: 1px solid #ddd; }
