@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

.platinumconnections-booking {
    --platinumconnections-primary: #f4cc3a;
    --platinumconnections-secondary: #000000;
    font-family: 'Playfair Display', Arial, sans-serif;
    background: #eef2f6;
    padding: 40px 16px;
    color: var(--platinumconnections-secondary);
}

/* Loader / spinner animations */
@keyframes pc-spin {
    to { transform: rotate(360deg); }
}

@keyframes pc-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.pc-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top-color: #64748b;
    border-radius: 50%;
    animation: pc-spin 0.7s linear infinite;
    vertical-align: middle;
}

.pc-spinner--sm {
    width: 14px;
    height: 14px;
    border-width: 1.5px;
}

.pc-spinner--white {
    border-color: rgba(255,255,255,0.3);
    border-top-color: #fff;
}

.platinumconnections-vehicle-price .pc-price-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.platinumconnections-price.is-loading {
    color: #94a3b8;
    opacity: 0.9;
}

.platinumconnections-price.is-loading::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    border: 2px solid #e2e8f0;
    border-top-color: #64748b;
    border-radius: 50%;
    animation: pc-spin 0.7s linear infinite;
    vertical-align: middle;
}

.pc-btn-loading {
    pointer-events: none;
    position: relative;
    color: transparent !important;
}

.pc-btn-loading .pc-spinner-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-btn-loading .pc-spinner-wrap .pc-spinner {
    margin: 0;
}

.platinumconnections-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 24px;
}

.platinumconnections-step-title {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: #7d8da1;
    margin-bottom: 10px;
}

.platinumconnections-title {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 6px;
}

.platinumconnections-subtitle {
    margin: 0;
    color: #7d8da1;
}

.platinumconnections-progress {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.platinumconnections-progress-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9aa8b6;
    font-size: 13px;
}

.platinumconnections-progress-item span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #c9d4df;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background: #fff;
}

.platinumconnections-progress-item.is-active {
    color: #1f2a37;
}

.platinumconnections-progress-item.is-active span {
    border-color: var(--platinumconnections-primary);
    background: var(--platinumconnections-primary);
    color: #fff;
}

.platinumconnections-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 26px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(31, 42, 55, 0.08);
}

.platinumconnections-step {
    display: none;
}

.platinumconnections-step.is-active {
    display: block;
}

.platinumconnections-step h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 22px;
}

/* Step 2: Journey summary (from / to / distance + map) */
.platinumconnections-journey-summary {
    display: none;
    margin-bottom: 20px;
}
.platinumconnections-journey-summary.is-set {
    display: block;
}
.pc-journey-summary-content {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}
.pc-journey-route {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 16px 18px;
}
.pc-journey-location {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 1;
    min-width: 140px;
}
.pc-journey-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 600;
}
.pc-journey-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    word-break: break-word;
}
.pc-journey-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 2px;
}
.pc-journey-icon-from {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230ea5e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s-6-5.2-6-10a6 6 0 1 1 12 0c0 4.8-6 10-6 10z'/><circle cx='12' cy='11' r='2.4'/></svg>");
}
.pc-journey-icon-to {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s-6-5.2-6-10a6 6 0 1 1 12 0c0 4.8-6 10-6 10z'/><circle cx='12' cy='11' r='2.4'/></svg>");
}
.pc-journey-distance-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 700;
    color: #1e293b;
    font-size: 18px;
}
.pc-journey-distance-unit {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: lowercase;
}
.pc-journey-map-wrap {
    border-top: 1px solid #e2e8f0;
    line-height: 0;
}
.pc-journey-static-map {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: cover;
    display: block;
}

/* Hide map image in journey summary */
.pc-journey-map-wrap {
    display: none !important;
}

.platinumconnections-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: nowrap;
}
.platinumconnections-toggle-btn {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    padding: 10px 14px;
    border: 1px solid #c9d4df;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #1f2a37;
    background: #f7fafc;
}

.platinumconnections-toggle-btn input {
    display: none;
}

.platinumconnections-toggle-btn.is-active {
    border-color: var(--platinumconnections-primary);
    color: var(--platinumconnections-secondary);
    background: #fff7d6;
}

.platinumconnections-step label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 12px 0 6px;
}

.platinumconnections-step input,
.platinumconnections-step textarea {
    width: 100%;
    border: 1px solid #c9d4df;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    box-sizing: border-box;
    color: #1f2a37;
    background: #ffffff;
}

.platinumconnections-step textarea {
    min-height: 110px;
}

.platinumconnections-step input::placeholder,
.platinumconnections-step textarea::placeholder {
    color: #9aa8b6;
}

.platinumconnections-passenger-details {
    display: none;
    margin-top: 10px;
}

.platinumconnections-passenger-details.is-active {
    display: block;
}

.platinumconnections-inline {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.platinumconnections-primary,
.platinumconnections-secondary {
    padding: 12px 18px;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
}

.platinumconnections-primary {
    background: var(--platinumconnections-primary);
    color: var(--platinumconnections-secondary);
    width: 100%;
}

.platinumconnections-secondary {
    background: #f1f5f9;
    color: #1f2a37;
    width: 100%;
}

.platinumconnections-vehicles {
    display: grid;
    gap: 20px;
}

.platinumconnections-vehicle-card {
    border: 1px solid #e3e9f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(31, 42, 55, 0.06);
}

.pc-vehicle-card-header {
    padding: 16px 20px 12px;
    border-bottom: 1px solid #f1f5f9;
}

.pc-vehicle-card-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #1e293b;
}

.pc-vehicle-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    font-size: 13px;
    color: #64748b;
}

.pc-vehicle-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pc-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.pc-icon-adults {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='8' r='3'/><path d='M2 20c.8-3 8.2-3 9 0'/><circle cx='17' cy='9' r='2.5'/><path d='M13 20c.6-2.3 5.4-2.3 6 0'/></svg>");
}

.pc-icon-suitcase {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v1H10V4a2 2 0 0 0-2-2H6z'/><path d='M8 12h8'/></svg>");
}

.pc-icon-carry {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M6 2v4h12V2a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2z'/><path d='M6 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8'/></svg>");
}

.pc-icon-wifi {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.55a11 11 0 0 1 14.08 0'/><path d='M1.42 9a16 16 0 0 1 21.16 0'/><path d='M8.53 16.11a6 6 0 0 1 6.95 0'/><circle cx='12' cy='20' r='1'/></svg>");
}

.pc-icon-check {
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>");
}

.pc-icon-arrow {
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M12 5l7 7-7 7'/></svg>");
}

.pc-vehicle-card-body {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
}

.pc-vehicle-card-image {
    flex-shrink: 0;
    width: 200px;
    min-height: 120px;
    background: #f8fafc;
}

.pc-vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pc-vehicle-card-image-placeholder {
    width: 100%;
    height: 140px;
    background: #e2e8f0;
}

.pc-vehicle-card-features {
    flex: 1 1 220px;
    margin: 0;
    padding: 16px 20px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: #475569;
}

.pc-vehicle-card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.platinumconnections-vehicle-price {
    min-width: 200px;
    text-align: center;
    background: #f1f5f9;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.platinumconnections-price-label {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.platinumconnections-price {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.platinumconnections-price-error {
    font-size: 12px;
    color: #b42318;
    margin: 0;
}

.platinumconnections-select-vehicle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 4px;
}

.platinumconnections-select-vehicle:hover {
    background: #1d4ed8;
    color: #fff;
}

.platinumconnections-summary {
    background: #f7fafc;
    border-radius: 12px;
    padding: 14px;
}

.platinumconnections-summary p {
    margin: 0 0 6px;
}

.platinumconnections-field {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #c9d4df;
    border-radius: 8px;
    padding: 8px 12px;
    background: #fff;
}

.platinumconnections-field input,
.platinumconnections-field textarea {
    border: none;
    padding: 6px 0;
    font-size: 14px;
    width: 100%;
    background: transparent;
    outline: none;
}

.platinumconnections-field select {
    border: none;
    padding: 6px 0;
    font-size: 14px;
    width: 100%;
    background: transparent;
    outline: none;
    color: #1f2a37;
}

.platinumconnections-field textarea {
    min-height: 110px;
    resize: vertical;
}

.platinumconnections-field-icon {
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex: 0 0 18px;
    opacity: 0.6;
}

.platinumconnections-field--location {
    position: relative;
    overflow: visible;
}

.platinumconnections-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #c9d4df;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(31, 42, 55, 0.1);
    display: none;
    max-height: 220px;
    overflow-y: auto;
}

.platinumconnections-autocomplete-item {
    padding: 10px 14px;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    color: #1f2a37;
}

.platinumconnections-autocomplete-item:last-child {
    border-bottom: none;
}

.platinumconnections-autocomplete-item:hover {
    background: #f7fafc;
}

.platinumconnections-autocomplete-item--airport {
    display: flex;
    align-items: center;
    gap: 10px;
}

.platinumconnections-autocomplete-item--airport .pc-icon-airport {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M17.8 19.2L16 12l3.5-3.5C21 7 21.5 5 21 3.5 20 2 18 2 15.5 3.5L12 7 4.8 6.2C3 6 2 7 2.2 8.8L3 12l-1.8 2.2c-.5.6-.5 1.5 0 2.1l1.8 2.2 7.2-.8 3.5 3.5 1.8-7.2z'/><path d='M12 7v5l4 2'/></svg>");
}

.platinumconnections-autocomplete-item--airport .pc-autocomplete-text {
    flex: 1;
}

.platinumconnections-autocomplete-item--landmark {
    display: flex;
    align-items: center;
    gap: 10px;
}

.platinumconnections-autocomplete-item--landmark .pc-icon-location {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s-6-5.2-6-10a6 6 0 1 1 12 0c0 4.8-6 10-6 10z'/><circle cx='12' cy='11' r='2.4'/></svg>");
}

.platinumconnections-autocomplete-item--landmark .pc-autocomplete-text {
    flex: 1;
}

.platinumconnections-field--location .platinumconnections-field-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s-6-5.2-6-10a6 6 0 1 1 12 0c0 4.8-6 10-6 10z'/><circle cx='12' cy='11' r='2.4'/></svg>");
}

.platinumconnections-field--clock .platinumconnections-field-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3 2'/></svg>");
}

.platinumconnections-field--calendar .platinumconnections-field-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='16' rx='2'/><path d='M8 3v4M16 3v4M3 10h18'/></svg>");
}

.platinumconnections-field--user .platinumconnections-field-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4'/><path d='M4 20c1.5-4 14.5-4 16 0'/></svg>");
}

.platinumconnections-field--phone .platinumconnections-field-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.9v2a2 2 0 0 1-2.2 2c-9-.9-15.7-7.6-16.6-16.6A2 2 0 0 1 5.1 2h2a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.7a2 2 0 0 1-.5 2L8 9a16 16 0 0 0 7 7l.6-1.2a2 2 0 0 1 2-.5c.9.3 1.8.5 2.7.6a2 2 0 0 1 1.7 2z'/></svg>");
}

.platinumconnections-field--email .platinumconnections-field-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='M3 7l9 6 9-6'/></svg>");
}

.platinumconnections-field--passengers .platinumconnections-field-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='8' r='3'/><path d='M2 20c.8-3 8.2-3 9 0'/><circle cx='17' cy='9' r='2.5'/><path d='M13 20c.6-2.3 5.4-2.3 6 0'/></svg>");
}

.platinumconnections-field--suitcases .platinumconnections-field-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='6' width='14' height='14' rx='2'/><path d='M9 6V4h6v2'/><path d='M9 12h6'/></svg>");
}

.platinumconnections-field--notes .platinumconnections-field-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 5h18v14H3z'/><path d='M7 9h10M7 13h8'/></svg>");
}

.platinumconnections-google-attribution {
    margin: 8px 0 0;
    font-size: 11px;
    color: #9aa8b6;
}

.pc-powered-by-google {
    font-style: italic;
}

@media (max-width: 720px) {
    .pc-vehicle-card-body {
        flex-direction: column;
    }

    .pc-vehicle-card-image {
        width: 100%;
        min-height: 180px;
    }

    .pc-vehicle-card-image img {
        min-height: 180px;
        object-fit: contain;
    }

    .platinumconnections-vehicle-price {
        width: 100%;
        min-width: 0;
    }
}
