/* --- NCC BOOKING PRO: PREMIUM DESIGN SYSTEM --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

.ncc-booking-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    font-family: 'Inter', sans-serif;
    color: #111827;
    line-height: 1.5;
}

.ncc-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.ncc-main {
    flex: 2;
    min-width: 320px;
    background: #ffffff;
    padding: 30px;
    /* Reduced from 40px */
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid #f3f4f6;
}

.ncc-sidebar {
    flex: 1;
    min-width: 280px;
    position: sticky;
    top: 30px;
}

/* --- TYPOGRAPHY --- */
.ncc-main h3 {
    margin: 0 0 35px 0;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #111827;
}

.ncc-form-row label,
.ncc-col label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 12px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- GRID SYSTEM --- */
.ncc-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.ncc-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.ncc-col {
    display: flex;
    flex-direction: column;
}

/* --- ACTION ROW: ADDRESS + BUTTON --- */
.ncc-action-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 25px;
}

.ncc-action-row>div:first-child {
    flex: 2;
}

.ncc-action-row>.ncc-submit-col {
    flex: 1;
}

.ncc-action-row .ncc-btn-primary {
    margin-top: 0 !important;
}

/* --- QUOTE RESULT: 3-COLUMN LAYOUT --- */
.ncc-quote-box {
    padding: 30px !important;
    border-radius: 24px;
}

.ncc-result-action-row {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fdfdfd;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid #f3f4f6;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.ncc-result-price {
    flex: 1;
    text-align: left;
    border-right: 1px solid #f3f4f6;
    padding-right: 15px;
}

.ncc-result-btn-main {
    flex: 1.5;
}

.ncc-result-btn-back {
    flex: 0.8;
}

.ncc-result-action-row button {
    height: 54px;
    padding: 0 15px !important;
    font-size: 15px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .ncc-result-action-row {
        flex-direction: column;
        padding: 15px;
    }

    .ncc-result-price {
        border-right: none;
        padding-right: 0;
        text-align: center;
        margin-bottom: 10px;
    }

    .ncc-result-btn-main,
    .ncc-result-btn-back {
        width: 100%;
    }
}

/* --- INPUTS & SELECTS --- */
.ncc-main input[type="text"],
.ncc-main input[type="number"],
.ncc-main input[type="email"],
.ncc-main input[type="tel"],
.ncc-main input[type="date"],
.ncc-main input[type="time"],
.ncc-main select,
.ncc-main textarea {
    width: 100%;
    padding: 16px 20px;
    background-color: #f9fafb;
    border: 2px solid #f3f4f6;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    outline: none;
}

.ncc-main input:focus,
.ncc-main select:focus,
.ncc-main textarea:focus {
    background-color: #ffffff;
    border-color: #111827;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.05);
}

/* --- OSM RESULTS --- */
.ncc-osm-results {
    position: absolute;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    width: 100%;
    margin-top: 5px;
    max-height: 250px;
    overflow-y: auto;
    display: none;
}

.ncc-osm-item {
    padding: 12px 15px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    border-bottom: 1px solid #f9fafb;
    transition: all 0.2s;
    line-height: 1.4;
}

.ncc-osm-item:last-child {
    border-bottom: none;
}

.ncc-osm-item:hover {
    background: #f9fafb;
    color: var(--ncc-primary, #111827);
    padding-left: 20px;
}

/* Custom Select Arrow */
.ncc-main select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
}

/* --- SERVICE TYPE TOGGLE (TABS) --- */
.ncc-service-type-toggle {
    display: flex;
    background: #f3f4f6;
    padding: 6px;
    border-radius: 16px;
    margin-bottom: 35px;
}

.ncc-service-type-toggle label {
    flex: 1;
    text-align: center;
    padding: 14px;
    margin-bottom: 0 !important;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 800 !important;
    font-size: 13px !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
}

.ncc-service-type-toggle input {
    display: none;
}

.ncc-service-type-toggle label:has(input:checked) {
    background: #ffffff;
    color: #111827 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* --- BUTTONS --- */
.ncc-btn-primary,
.ncc-btn-pay {
    display: block;
    width: 100%;
    background: #111827;
    color: #ffffff;
    padding: 18px 30px;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    margin-top: 20px;
}

.ncc-btn-primary:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.ncc-btn-secondary {
    display: block;
    width: 100%;
    background: #f3f4f6;
    color: #4b5563;
    padding: 14px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    margin-top: 10px;
}

.ncc-btn-secondary:hover {
    background: #e5e7eb;
}

/* --- QUOTE BOX PREVIEW --- */
.ncc-quote-box {
    text-align: center;
    padding: 20px 0;
}

.ncc-price-display {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin: 15px 0;
    color: #111827;
}

.ncc-vehicle-note {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 30px;
}

/* --- SIDEBAR FLEET --- */
.ncc-fleet-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
}

.ncc-vehicle-card {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 18px;
    margin-bottom: 15px;
    transition: all 0.2s;
}

.ncc-vehicle-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    border-color: #e5e7eb;
}

.ncc-vehicle-card.active {
    background: #eff6ff;
    border-color: #3b82f6;
}

.ncc-vehicle-img img {
    width: 70px;
    height: 45px;
    object-fit: contain;
    margin-right: 15px;
}

.ncc-vehicle-info h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.ncc-vehicle-info span {
    font-size: 13px;
    color: #6b7280;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .ncc-container {
        flex-direction: column;
    }

    .ncc-main,
    .ncc-sidebar {
        width: 100%;
        flex: none;
    }

    .ncc-sidebar {
        position: static;
        display: none;
    }

    /* Hide fleet on mobile as requested before */
}

@media (max-width: 600px) {

    .ncc-row-3,
    .ncc-row-2 {
        grid-template-columns: 1fr;
    }

    .ncc-main {
        padding: 30px 20px;
        border-radius: 0;
    }

    .ncc-price-display {
        font-size: 42px;
    }
}

/* Driver Dash (keeping functionality) */
.ncc-driver-panel {
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
}

.ncc-job-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
}