/* Form */
.videoez-booking-wrap {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1f2937;
    box-sizing: border-box;
}

/* Tabs */
.videoez-booking-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 2px solid #e5e7eb;
    flex-wrap: wrap;
}

.videoez-tab {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-bottom: 3px solid transparent;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    margin-bottom: -2px;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.videoez-tab.active {
    background: #fff;
    color: #0d1b3e;
    border-color: #e5e7eb;
    border-bottom-color: #0d1b3e;
}

.videoez-tab:hover {
    background: #fff;
    color: #0d1b3e;
}

.videoez-tab-content { display: none; }
.videoez-tab-content.active { display: block; }

/* Steps */
.videoez-step-title {
    font-size: 20px;
    font-weight: 700;
    color: #0d1b3e;
    margin: 0 0 20px;
}

.videoez-step-intro {
    color: #6b7280;
    margin: -12px 0 20px;
}

.videoez-step-back {
    margin-bottom: 16px;
}

.videoez-btn-back {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.videoez-btn-back:hover { color: #0d1b3e; }

/* Package image */
.videoez-package-image {
    margin: -24px -24px 16px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    height: 260px;
}

.videoez-package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Packages grid */
.videoez-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.videoez-package-card {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.1s;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.videoez-package-card:hover {
    border-color: #0d1b3e;
    box-shadow: 0 4px 16px rgba(13,27,62,0.1);
    transform: translateY(-2px);
}

.videoez-package-card.selected {
    border-color: #0d1b3e;
    background: #f0f4ff;
}

.videoez-package-header {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f3f4f6;
}

.videoez-package-name {
    font-size: 17px;
    font-weight: 700;
    color: #0d1b3e;
    margin: 0 0 6px;
}

.videoez-package-price {
    font-size: 26px;
    font-weight: 900;
    color: #0d1b3e;
}

.videoez-package-duration {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

.videoez-package-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 12px;
    line-height: 1.5;
    flex: 1;
}

.videoez-package-includes {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    flex: 1;
}

.videoez-package-includes li {
    font-size: 14px;
    color: #374151;
    padding: 3px 0;
}

.videoez-package-includes li::before {
    content: '✓ ';
    color: #10b981;
    font-weight: 700;
}

.videoez-btn-select-package {
    width: 100%;
    background: #0d1b3e;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: auto;
    flex-shrink: 0;
}

.videoez-btn-select-package:hover { background: #1a3a6e; }

/* Calendar */
#vb-calendar {
    user-select: none;
}

.vb-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.vb-calendar-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0d1b3e;
}

.vb-cal-nav {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    color: #374151;
    font-size: 14px;
}

.vb-cal-nav:hover { background: #f3f4f6; }

.vb-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.vb-cal-day-label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    padding: 6px 0;
    text-transform: uppercase;
}

.vb-cal-day {
    text-align: center;
    padding: 10px 4px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
    border: 1px solid transparent;
}

.vb-cal-day.empty { cursor: default; }

.vb-cal-day.available {
    background: #f0fdf4;
    color: #166534;
    border-color: #86efac;
}

.vb-cal-day.available:hover {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}

.vb-cal-day.selected {
    background: #0d1b3e !important;
    color: #fff !important;
    border-color: #0d1b3e !important;
}

.vb-cal-day.blocked {
    background: #fef2f2;
    color: #fca5a5;
    cursor: not-allowed;
    border-color: #fecaca;
}

.vb-cal-day.booked {
    background: #eff6ff;
    color: #93c5fd;
    cursor: not-allowed;
    border-color: #bfdbfe;
}

.vb-cal-day.past {
    color: #d1d5db;
    cursor: not-allowed;
}

/* Time slots */
.videoez-time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vb-time-slot {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    transition: all 0.15s;
}

.vb-time-slot:hover {
    border-color: #0d1b3e;
    color: #0d1b3e;
}

.vb-time-slot.selected {
    background: #0d1b3e;
    border-color: #0d1b3e;
    color: #fff;
}

/* Form */
.videoez-form {
    max-width: 680px;
}

.videoez-form-row {
    margin-bottom: 18px;
}

.videoez-form-row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Radio groups */
.videoez-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.videoez-radio-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.videoez-radio-label input[type="radio"] {
    accent-color: #0d1b3e;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.videoez-form-row label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
}

.videoez-form-row .req { color: #ef4444; }

.videoez-form-row input[type="text"],
.videoez-form-row input[type="email"],
.videoez-form-row input[type="tel"],
.videoez-form-row input[type="date"],
.videoez-form-row select,
.videoez-form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: #1f2937;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.videoez-form-row input:focus,
.videoez-form-row select:focus,
.videoez-form-row textarea:focus {
    outline: none;
    border-color: #0d1b3e;
    box-shadow: 0 0 0 2px rgba(13,27,62,0.08);
}

/* Payment options */
.videoez-payment-options {
    margin-bottom: 20px;
}

.vb-payment-option {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: border-color 0.15s;
}

.vb-payment-option:hover { border-color: #0d1b3e; }
.vb-payment-option.selected { border-color: #0d1b3e; background: #f0f4ff; }

.vb-payment-option input[type="radio"] { accent-color: #0d1b3e; width: 18px; height: 18px; flex-shrink: 0; }

.vb-payment-label { font-weight: 700; color: #0d1b3e; font-size: 15px; }
.vb-payment-amount { font-size: 20px; font-weight: 900; color: #0d1b3e; margin-left: auto; }
.vb-payment-desc { font-size: 13px; color: #6b7280; }

/* Buttons */
.videoez-btn-primary {
    background: #0d1b3e;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
}

.videoez-btn-primary:hover { background: #1a3a6e; }
.videoez-btn-primary:disabled { background: #9ca3af; cursor: not-allowed; }

.videoez-btn-pay {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Confirmation */
.videoez-booking-confirm {
    text-align: center;
    padding: 40px 20px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 10px;
}

.videoez-booking-confirm h3 {
    font-size: 22px;
    color: #0d1b3e;
    margin: 0 0 10px;
}

.videoez-booking-confirm p {
    color: #374151;
    line-height: 1.6;
}

.videoez-booking-empty {
    color: #6b7280;
    font-style: italic;
}

/* Progress indicator */
.vb-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    align-items: center;
}

.vb-progress-step {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vb-progress-step.active {
    background: #0d1b3e;
    color: #fff;
}

.vb-progress-step.done {
    background: #10b981;
    color: #fff;
}

.vb-progress-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
}

.vb-progress-line.done { background: #10b981; }

/* Tablet — 2 columns */
@media (max-width: 960px) {
    .videoez-packages-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile — 1 column */
@media (max-width: 600px) {
    .videoez-packages-grid { grid-template-columns: 1fr; }
    .videoez-booking-tabs { flex-direction: column; border-bottom: none; gap: 6px; }
    .videoez-tab { border-radius: 6px; border: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; text-align: left; }
    .videoez-tab.active { border-color: #0d1b3e; background: #f0f4ff; }
    .videoez-form-row--half { grid-template-columns: 1fr; }
}
