/* Elite Booking System Styles - Premium Dark Luxury Theme */
.eb-plugin {
    font-family: 'Raleway', sans-serif;
    color: #fff;
    background-color: #0d0d0d;
    line-height: 1.6;
    box-sizing: border-box;
}

.eb-plugin *, .eb-plugin *:before, .eb-plugin *:after {
    box-sizing: inherit;
}

/* Base Form Elements */
.eb-plugin .eb-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #ccc;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.eb-plugin .eb-req { color: #efc300; }

.eb-plugin .eb-input,
.eb-plugin .eb-select,
.eb-plugin .eb-textarea {
    width: 100%;
    padding: 12px 16px;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.eb-plugin .eb-input:focus,
.eb-plugin .eb-select:focus,
.eb-plugin .eb-textarea:focus {
    border-color: #efc300;
    outline: none;
    background: #1a1a1a;
}

.eb-plugin .eb-input::placeholder,
.eb-plugin .eb-textarea::placeholder {
    color: #555;
}

/* Layout */
.eb-book-page, .eb-quotes-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.eb-book-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.eb-book-form-col {
    flex: 1 1 600px;
}

.eb-book-summary-col {
    flex: 1 1 350px;
    position: sticky;
    top: 40px;
}

/* Form Sections */
.eb-form-section {
    background: #151515;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #222;
    border-radius: 4px;
}

.eb-form-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: #efc300;
    margin: 0 0 24px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
    font-weight: 400;
}

.eb-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.eb-field {
    flex: 1 1 calc(50% - 10px);
}
.eb-field-full {
    flex: 1 1 100%;
}

/* Journey Display */
.eb-journey-display {
    background: #0d0d0d;
    padding: 20px;
    border: 1px solid #222;
    margin-bottom: 20px;
    border-radius: 4px;
}

.eb-jd-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #1a1a1a;
}
.eb-jd-row:last-child {
    border-bottom: none;
}
.eb-jd-label { color: #888; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px;}
.eb-jd-val { color: #fff; font-weight: 500; text-align: right; }

/* Custom Checkbox/Radio */
.eb-checkbox-label, .eb-radio-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 15px;
    color: #ddd;
    position: relative;
}

.eb-checkbox, .eb-radio {
    opacity: 0;
    position: absolute;
}

.eb-checkbox-box, .eb-radio-box {
    width: 20px;
    height: 20px;
    border: 1px solid #555;
    background: #111;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.eb-radio-box {
    border-radius: 50%;
}

.eb-checkbox:checked + .eb-checkbox-box,
.eb-radio:checked + .eb-radio-box {
    border-color: #efc300;
    background: #efc300;
}

.eb-checkbox:checked + .eb-checkbox-box::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.eb-radio:checked + .eb-radio-box::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
}

.eb-badge {
    background: #2a2a2a;
    color: #efc300;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 10px;
    border-radius: 2px;
}

/* Payment Options */
.eb-payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.eb-radio-label {
    background: #0d0d0d;
    padding: 20px;
    border: 1px solid #222;
    align-items: center;
    transition: border-color 0.3s;
    border-radius: 4px;
}

.eb-radio-label:hover {
    border-color: #444;
}

.eb-radio:checked ~ .eb-radio-text strong {
    color: #efc300;
}

.eb-radio-text {
    display: flex;
    flex-direction: column;
}

.eb-radio-text strong {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    transition: color 0.3s;
}

.eb-radio-text small {
    color: #888;
    font-size: 13px;
}

/* Buttons */
.eb-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #efc300 0%, #c49a00 100%);
    color: #000;
    border: none;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
    border-radius: 4px;
    margin-top: 10px;
}

.eb-submit-btn:hover:not(:disabled) {
    opacity: 0.9;
}

.eb-submit-btn:disabled {
    background: #333;
    color: #777;
    cursor: not-allowed;
}

/* Summary Card */
.eb-summary-card {
    background: #151515;
    border: 1px solid #333;
    padding: 30px;
    position: sticky;
    top: 40px;
    border-radius: 4px;
}

.eb-summary-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    color: #efc300;
    margin: 0 0 20px 0;
    text-align: center;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.eb-summary-img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.eb-summary-vname {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    margin-bottom: 5px;
}

.eb-summary-vtype {
    text-align: center;
    color: #efc300;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.eb-summary-rows {
    margin-bottom: 25px;
}

.eb-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid #222;
}

.eb-summary-row span:first-child {
    color: #888;
    font-size: 14px;
    text-transform: uppercase;
}

.eb-summary-row span:last-child {
    color: #ddd;
    font-weight: 500;
    text-align: right;
    max-width: 60%;
}

.eb-summary-price-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.eb-summary-price-label {
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eb-summary-price {
    font-size: 32px;
    color: #efc300;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

/* Home Quotes form styles */
.eb-home-form-wrap {
    background: #111;
    padding: 30px;
    border: 1px solid #333;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 4px;
}

.eb-trip-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.eb-toggle-btn {
    background: #1a1a1a;
    color: #888;
    border: 1px solid #333;
    padding: 10px 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    border-radius: 4px;
}

.eb-toggle-btn:hover { background: #222; }
.eb-toggle-btn.active {
    background: #efc300;
    color: #000;
    border-color: #efc300;
    font-weight: 600;
}

.eb-form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.eb-waypoint-toggle {
    margin: 15px 0 25px;
}

.eb-link-btn {
    background: none;
    border: none;
    color: #efc300;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}
.eb-link-btn:hover { color: #c49a00; }

/* Quotes Layout */
.eb-quotes-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.eb-quotes-left {
    flex: 1 1 350px;
    position: sticky;
    top: 40px;
}
.eb-quotes-right {
    flex: 1 1 700px;
}
.eb-map-card {
    background: #151515;
    border: 1px solid #333;
    overflow: hidden;
    border-radius: 4px;
}
.eb-route-map {
    height: 300px;
    width: 100%;
}
.eb-journey-summary {
    padding: 20px;
}
.eb-journey-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #222;
}
.eb-journey-row:last-child { border-bottom: none; }
.eb-journey-row--highlight .eb-journey-val { color: #efc300; font-weight: 600; font-size: 16px; }
.eb-journey-label { color: #888; font-size: 13px; text-transform: uppercase; }
.eb-journey-val { color: #fff; text-align: right; max-width: 65%; font-size: 14px; }

.eb-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: #efc300;
    margin: 0 0 30px 0;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}
.eb-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}
.eb-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
    color: #888;
}
.eb-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #333;
    border-top-color: #efc300;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.eb-error-msg {
    color: #ff6b6b;
    background: rgba(255,107,107,0.1);
    border: 1px solid rgba(255,107,107,0.3);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Vehicle Item Card */
.eb-vehicle-card {
    background: #151515;
    border: 1px solid #333;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.eb-vehicle-card:hover {
    transform: translateY(-5px);
    border-color: #efc300;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.eb-card-img {
    height: 160px;
    background: #0d0d0d;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eb-card-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.eb-card-img--placeholder {
    background: #111;
}
.eb-car-silhouette {
    color: #444;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.eb-car-silhouette svg {
    width: 60px;
    height: 60px;
}
.eb-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.eb-card-title {
    font-size: 22px;
    color: #fff;
    margin: 0 0 5px 0;
    font-family: 'Cormorant Garamond', serif;
}
.eb-card-desc {
    color: #888;
    font-size: 13px;
    margin-bottom: 15px;
}
.eb-feature-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    color: #aaa;
    font-size: 13px;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 10px 0;
}
.eb-feature-box {
    display: flex;
    align-items: center;
    gap: 5px;
}
.eb-feature-box svg {
    color: #efc300;
}
.eb-card-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.eb-pill-btn {
    width: 100%;
    padding: 12px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}
.eb-pill-gold {
    background: #efc300;
    color: #000;
    border: none;
}
.eb-pill-gold:hover {
    background: #d4ad00;
}
.eb-pill-outline {
    background: transparent;
    color: #efc300;
    border: 1px solid #efc300;
}
.eb-pill-outline:hover {
    background: rgba(239, 195, 0, 0.1);
}

/* Responsiveness */
@media (max-width: 768px) {
    .eb-field { flex: 1 1 100%; }
    .eb-quotes-layout, .eb-book-layout { flex-direction: column; }
    .eb-quotes-left, .eb-book-summary-col { position: static; width: 100%; }
}
