/* Vehicle Booking System - Main CSS */

.vbs-booking-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.vbs-booking-main {
    background: #080808;
    border: 1px solid #242424;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

/* Progress Steps */
.vbs-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    background: #111;
    border: 1px solid #262626;
    padding: 24px;
    border-radius: 8px;
}

.vbs-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffa500 0%, transparent 100%);
    z-index: 0;
    transform: translateY(-50%);
}

.vbs-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.vbs-step.active,
.vbs-step.completed {
    opacity: 1;
}

.vbs-step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #333;
    border: 2px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.vbs-step.active .vbs-step-number {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    border-color: #ffa500;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
}

.vbs-step.completed .vbs-step-number {
    background: #4ade80;
    border-color: #4ade80;
}

.vbs-step-label {
    font-size: 13px;
    color: #aaa;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vbs-step.active .vbs-step-label {
    color: #ffa500;
}

/* Form Container */
.vbs-form-container {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.vbs-form-container h2 {
    color: #fff;
    font-size: 28px;
    margin: 0 0 30px;
    font-weight: 600;
}

.vbs-service-banner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 28px;
}

.vbs-service-label {
    color: #ffa500;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.vbs-service-banner h2 {
    font-size: 22px;
    margin-bottom: 14px;
}

.vbs-service-banner ul {
    color: #ccc;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    padding-left: 18px;
}

.vbs-waiting-policy {
    border-top: 1px solid #333;
    margin-top: 16px;
    padding-top: 16px;
}

.vbs-waiting-policy-title {
    color: #ffa500;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.vbs-waiting-policy-table {
    display: grid;
    gap: 8px;
}

.vbs-waiting-policy-row {
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid #2f2f2f;
    border-radius: 6px;
    color: #ccc;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 10px;
}

.vbs-waiting-policy-row strong {
    color: #fff;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.vbs-airport-fields {
    display: none;
}

/* Step Content */
.vbs-step-content {
    display: none;
}

.vbs-step-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Groups */
.vbs-form-group {
    margin-bottom: 20px;
}

.vbs-form-group label {
    display: block;
    color: #ccc;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vbs-form-group input,
.vbs-form-group textarea,
.vbs-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #333;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.vbs-form-group input:focus,
.vbs-form-group textarea:focus,
.vbs-form-group select:focus {
    outline: none;
    border-color: #ffa500;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
}

.vbs-form-group input::placeholder,
.vbs-form-group textarea::placeholder {
    color: #888;
}

/* Vehicles Grid */
.vbs-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.vbs-vehicle-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #333;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.vbs-vehicle-card:hover {
    border-color: #ffa500;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.2);
}

.vbs-vehicle-card.selected {
    border-color: #ffa500;
    background: rgba(255, 165, 0, 0.1);
}

.vbs-vehicle-image {
    width: 100%;
    height: 180px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vbs-vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vbs-vehicle-image-placeholder {
    color: #999;
    font-size: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vbs-vehicle-image-placeholder::after {
    content: 'No image';
    font-size: 13px;
}

.vbs-vehicle-message {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 8px;
    color: #ccc;
    padding: 18px;
    text-align: center;
}

.vbs-vehicle-info {
    padding: 15px;
}

.vbs-vehicle-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
}

.vbs-vehicle-desc {
    color: #aaa;
    font-size: 12px;
    margin: 0 0 12px;
    line-height: 1.4;
}

.vbs-vehicle-class {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.vbs-vehicle-details {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #333;
}

.vbs-vehicle-waiting {
    color: #aaa;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 12px;
}

.vbs-vehicle-detail {
    flex: 1;
    text-align: center;
}

.vbs-vehicle-detail-label {
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.vbs-vehicle-detail-value {
    color: #ffa500;
    font-size: 14px;
    font-weight: 600;
}

/* Summary Section */
.vbs-summary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.vbs-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #333;
    color: #ccc;
    font-size: 14px;
}

.vbs-summary-item:last-child {
    border-bottom: none;
    padding-top: 15px;
    padding-bottom: 0;
}

.vbs-summary-item-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vbs-summary-item-label-sub {
    color: #888;
    font-size: 12px;
}

.vbs-summary-item-value {
    text-align: right;
    font-weight: 600;
}

.vbs-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 2px solid #ffa500;
    margin-top: 15px;
    font-size: 18px;
    font-weight: 700;
}

.vbs-summary-total-label {
    color: #ccc;
    text-transform: uppercase;
}

.vbs-summary-total-value {
    color: #ffa500;
}

/* Right Panel */
.vbs-summary-panel {
    background: #080808;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.vbs-summary-panel h3 {
    color: #fff;
    font-size: 16px;
    margin: 0 0 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vbs-panel-content {
    color: #aaa;
    font-size: 13px;
    line-height: 1.6;
}

.vbs-panel-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    margin-bottom: 10px;
}

.vbs-panel-item-label {
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.vbs-panel-item-value {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.vbs-panel-waiting-policy {
    display: grid;
    gap: 8px;
}

.vbs-panel-total {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
}

.vbs-panel-total-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.vbs-panel-total-value {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

/* Buttons */
.vbs-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vbs-btn-next {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: white;
    flex: 1;
}

.vbs-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.4);
}

.vbs-btn-back {
    background: transparent;
    color: #ffa500;
    border: 1px solid #ffa500;
}

.vbs-btn-back:hover {
    background: rgba(255, 165, 0, 0.1);
}

.vbs-btn-submit {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: white;
    width: 100%;
}

.vbs-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.4);
}

.vbs-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Badges */
.vbs-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.vbs-badge-pending {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
}

.vbs-badge-confirmed {
    background: rgba(76, 175, 80, 0.2);
    color: #4ade80;
}

.vbs-badge-cancelled {
    background: rgba(244, 67, 54, 0.2);
    color: #f87171;
}

/* Admin Dashboard */
.vbs-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.vbs-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #ffa500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vbs-card h3 {
    margin: 0;
    font-size: 32px;
    color: #ffa500;
}

.vbs-card p {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}

/* Form Table */
.vbs-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.vbs-form .form-table {
    width: 100%;
    margin-bottom: 20px;
}

.vbs-form .form-table th {
    text-align: left;
    padding: 15px;
    background: #f5f5f5;
}

.vbs-form .form-table td {
    padding: 15px;
}

.vbs-form input,
.vbs-form textarea {
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Success Modal */
.vbs-success-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #080808;
    border: 1px solid #ffa500;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    z-index: 1000;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.vbs-success-modal h2 {
    color: #fff;
    font-size: 24px;
    margin: 20px 0;
}

.vbs-success-modal p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

.vbs-success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: rgba(255, 165, 0, 0.2);
    border: 2px solid #ffa500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    color: #ffa500;
}

.vbs-success-checkmark::after {
    content: 'OK';
    font-size: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .vbs-booking-container {
        grid-template-columns: 1fr;
    }

    .vbs-booking-main {
        padding: 20px;
    }
    
    .vbs-summary-panel {
        position: static;
    }
    
    .vbs-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 20px;
    }
    
    .vbs-vehicles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .vbs-booking-container {
        margin: 20px 0;
        padding: 0 10px;
    }
    
    .vbs-booking-main {
        padding: 15px;
    }
    
    .vbs-form-container h2 {
        font-size: 20px;
    }
    
    .vbs-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
}
