/* Booking Form Container */
.wcc-booking-container {
    width: 100%;
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 20px;
}

.wcc-booking-form-wrapper {
    overflow: visible !important;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: visible !important;
    animation: slideUp 0.3s ease-out;
}

/* Plate banner */
.wcc-plate-banner {
    background: #f7f9fc;
    border-bottom: 1px solid #eef2f7;
    padding: 16px 20px;
}

.wcc-recaptcha {
    margin: 16px 0 8px;
    display: flex;
    justify-content: center;
}
.wcc-plate-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wcc-form-inline {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 16px;
}
.wcc-form-item label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #2d3748;
}
.wcc-form-item input,
.wcc-form-item select {
    width: 80%;
    padding: 10px 12px;
    border: 1px solid #d9e2ef;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
}

.wcc-plate-row {
    background: #f8fbff;
    border: 1px solid #dbe7ff;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
}
.wcc-plate-row .wcc-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
}
.wcc-plate-row .wcc-form-group label::after {
    content: 'kenteken';
    display: inline-block;
    background: #e0e7ff;
    color: #374151;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.wcc-plate-row select {
    background-image: linear-gradient(to right, #f8fbff, #ffffff);
}

.wcc-input-with-action {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.wcc-btn-mini {
    padding: 8px 12px;
    font-size: 12px;
    border: none;
    border-radius: 8px;
    background: #667eea;
    color: #fff;
    cursor: pointer;
}
.wcc-btn-mini:hover { background: #5563d6; }

.wcc-plate-action {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Match exchange form plate styling */
.wcc-numberplate-frame {
    display: flex;
    width: 200px;
    height: 50px;
    box-sizing: border-box;
    background-image: url('../../../assets/images/wcc-plate-background.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    border-radius: 4px;
    padding: 8px 10px 8px 40px;
    align-items: center;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* Increased specificity to override theme styles */
#wcc-booking-form input.wcc-numberplate-input,
.wcc-numberplate-input {
    border: none !important;
    background: transparent !important;
    background-color: transparent !important; /* override UA light-dark default */
    background-image: none !important;
    appearance: none;
    -webkit-appearance: none;
    color-scheme: light;
    outline: none !important;
    width: 100%; /* Use full available width */
    height: 100%;
    margin: 0 !important;
    font-family: 'Kenteken', 'Arial Black', monospace;
    font-weight: bold;
    font-size: 1.4em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #000 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.wcc-numberplate-input::placeholder {
    font-family: 'Kenteken', 'Arial Black', monospace;
    font-weight: bold;
    font-size: 1em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #666;
    opacity: 0.5;
}

.wcc-numberplate-input::-webkit-input-placeholder {
    font-family: 'Kenteken', 'Arial Black', monospace;
    font-weight: bold;
    font-size: 1em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #666;
    opacity: 0.5;
}

.wcc-numberplate-input::-moz-placeholder {
    font-family: 'Kenteken', 'Arial Black', monospace;
    font-weight: bold;
    font-size: 1em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #666;
    opacity: 0.5;
}

.wcc-numberplate-input:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.wcc-plain-frame {
    background: #fff;
    border: 1px solid #d9e2ef;
    border-radius: 8px;
    padding: 10px 12px;
    height: auto;
    width: 80%;
    max-width: 240px;
    box-shadow: none;
}
.wcc-plain-frame .wcc-numberplate-input {
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
    color: #2d3748;
}

/* Hide elements utility - v2.1 */
.wcc-hidden { display: none !important; }

/* Center plate type selector */
.wcc-plate-type-selector {
    max-width: 520px;
    margin: 0 auto 30px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.wcc-plate-type-selector .wcc-form-group {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 80%;
    max-width: 360px;
}

.wcc-plate-type-selector .wcc-form-group label,
.wcc-plate-type-selector .wcc-form-group .wcc-help-text {
    text-align: center;
    width: 80%;
}

.wcc-plate-type-selector select {
    text-align: center;
    text-align-last: center;
    padding: 12px 14px;
    border: 2px solid #dbe7ff;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    font-weight: 600;
    color: #2d3748;
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.08);
    max-width: 340px;
    width: 80%;
    display: block;
    margin: 0 auto;
}

.wcc-plate-type-selector select:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.18);
}

/* Kenteken section - separate centered block */
.wcc-kenteken-section {
    text-align: center;
    margin: 30px auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.wcc-kenteken-section label {
    font-weight: 700;
    font-size: 15px;
    color: #2d3748;
    margin-bottom: 10px;
}

.wcc-kenteken-section .wcc-plate-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wcc-kenteken-section .wcc-help-text {
    text-align: center;
    max-width: 400px;
}

/* Car input block styling */
.wcc-car-input-block {
    background: #f8f9fa;
    border: 2px solid #e0e6ed;
    border-radius: 12px;
    padding: 25px;
    margin: 20px auto 0;
    max-width: 760px;
    text-align: center;
}

.wcc-plate-input-group {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 80%;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e6ed;
}

/* Override default form-group styles for plate input */
.wcc-form-group.wcc-plate-input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wcc-plate-input-group .wcc-plate-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.wcc-plate-input-group label {
    display: block;
    text-align: center;
    font-weight: 700;
    margin: 0 auto;
    font-size: 15px;
    color: #2d3748;
}

.wcc-plate-input-group .wcc-help-text {
    text-align: center;
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
}

.wcc-car-details {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

#rdw-status {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #4a5568;
}
#rdw-status.error { color: #c53030; }
#rdw-status.success { color: #2f855a; }

/* Readonly visual cue */
.wcc-readonly {
    background-color: #f9fafb;
    color: #4a5568;
}

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

/* Step Indicator */
.wcc-booking-steps {
    display: flex;
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 50%, #0369a1 100%);
    padding: 30px 20px;
    gap: 0;
}

.wcc-step {
    flex: 1;
    text-align: center;
    position: relative;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.wcc-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%; width: 80%;
    width: 80%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.wcc-step.active::after,
.wcc-step.completed::after {
    background: rgba(255, 255, 255, 0.8);
}

.wcc-step-number {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    line-height: 36px;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
}

.wcc-step.active .wcc-step-number,
.wcc-step.completed .wcc-step-number {
    background: white;
    color: #0284c7;
    border-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wcc-step.active,
.wcc-step.completed {
    color: white;
}

.wcc-step-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Container */
.wcc-booking-form {
    padding: 40px 30px 30px;
    position: relative;
    min-height: 400px;
}

/* Form Steps */
.wcc-form-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.wcc-form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.wcc-form-step h3 {
    margin: 0 0 30px;
    font-size: 24px;
    color: #333;
    font-weight: 600;
    text-align: center;
}

/* Service Selection Cards */
.wcc-service-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.wcc-service-card {
    cursor: pointer;
    position: relative;
}

.wcc-service-card input[type="radio"] {
    display: none;
}

.wcc-service-content {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
}

.wcc-service-card input[type="radio"]:checked + .wcc-service-content {
    border-color: #0284c7;
    background: #f0f9ff;
    box-shadow: none;
    transform: translateY(-2px);
}

.wcc-service-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.wcc-service-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.wcc-service-desc {
    font-size: 13px;
    color: #666;
}

/* Form Groups */
.wcc-form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wcc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.wcc-form-row .wcc-form-group {
    margin-bottom: 0;
}

.wcc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.wcc-form-group input,
.wcc-form-group textarea {
    width: 80%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.wcc-form-group input:focus,
.wcc-form-group textarea:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wcc-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Summary Box */
.wcc-summary-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.wcc-summary-section {
    margin-bottom: 20px;
}

.wcc-summary-section:last-child {
    margin-bottom: 0;
}

.wcc-summary-section h4 {
    margin: 0 0 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    font-weight: 600;
}

.wcc-summary-value {
    margin: 0;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.wcc-summary-value strong {
    color: #0284c7;
    font-weight: 700;
}

.wcc-confirmation-text {
    background: #e8f4f8;
    border-left: 4px solid #667eea;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 0;
    font-size: 13px;
    color: #333;
    line-height: 1.6;
}

/* Buttons */
.wcc-form-navigation {
    justify-content: space-between;
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.wcc-nav-spacer {
    flex: 1;
}

.wcc-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 130px;
}

.wcc-btn-primary {
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 50%, #0369a1 100%);
    color: white;
}

.wcc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.wcc-btn-primary:active {
    transform: translateY(0);
}

.wcc-btn-secondary {
    background: #e9ecef;
    color: #333;
}

.wcc-btn-secondary:hover {
    background: #dee2e6;
}

.wcc-btn-success {
    background: linear-gradient(135deg, #56ab2f 0%, #2faa2f 100%);
    color: white;
    min-width: 160px;
}

.wcc-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 170, 47, 0.3);
}

.wcc-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Messages */
.wcc-form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: slideUp 0.3s ease-out;
}

.wcc-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wcc-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Loading */
.wcc-loading {
    text-align: center;
    padding: 40px;
}

/* Success panel */
.wcc-success-panel {
    text-align: center;
    padding: 60px 20px 70px;
    background: #f7fff9;
    border: 1px solid #d5f0de;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(23, 111, 44, 0.12);
}

.wcc-success-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34d399, #10b981);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 18px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.wcc-success-panel h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #064e3b;
}

.wcc-success-panel p {
    margin: 0 auto 18px;
    color: #065f46;
    max-width: 520px;
    line-height: 1.5;
}

.wcc-success-actions {
    display: flex;
    justify-content: center;
}

.wcc-success-progress {
    width: 80%;
    max-width: 360px;
    height: 6px;
    background: #e8f5ec;
    border-radius: 999px;
    overflow: visible !important;
    margin: 12px auto 8px;
    position: relative;
}

.wcc-success-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #34d399, #10b981);
    animation: wcc-progress-fill 10s linear forwards;
}

.wcc-success-redirect {
    font-weight: 600;
    color: #065f46;
    margin: 4px 0 16px;
}

@keyframes wcc-progress-fill {
    from { width: 0; }
    to { width: 80%; }
}

.wcc-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    border: 4px solid #e0e0e0;
    border-top-color: #0284c7;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.wcc-loading p {
    color: #666;
    font-weight: 500;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .wcc-booking-form {
        padding: 30px 20px;
    }

    .wcc-booking-steps {
        padding: 20px 10px;
        gap: 5px;
    }

    .wcc-step:not(:last-child)::after {
        right: -30%;
    }

    .wcc-step-label {
        font-size: 10px;
    }

    .wcc-step-number {
        width: 32px;
        height: 32px;
        line-height: 28px;
        font-size: 15px;
        margin-bottom: 4px;
    }

    .wcc-form-step h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .wcc-service-options {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
    }

    .wcc-service-content {
        padding: 15px 12px;
    }

    .wcc-service-icon {
        font-size: 28px;
    }

    .wcc-form-row {
        grid-template-columns: 1fr;
    }

    .wcc-form-navigation {
    justify-content: space-between;
        flex-direction: column;
    }

    .wcc-btn {
        width: 80%;
        min-width: auto;
    }

    .wcc-summary-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .wcc-booking-container {
        margin: 20px auto;
        padding: 0 10px;
    }

    .wcc-booking-form-wrapper {
    overflow: visible !important;
        border-radius: 8px;
    }

    .wcc-booking-form {
        padding: 20px 15px;
        min-height: 300px;
    }

    .wcc-booking-steps {
        padding: 15px 5px;
    }

    .wcc-step {
        font-size: 11px;
    }

    .wcc-step:not(:last-child)::after {
        right: -15%;
    }

    .wcc-form-step h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .wcc-service-options {
        grid-template-columns: 1fr;
    }

    .wcc-service-content {
        padding: 12px 10px;
    }

    .wcc-service-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .wcc-form-group {
        margin-bottom: 18px;
    }

    .wcc-form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .wcc-form-group input,
    .wcc-form-group textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .wcc-form-navigation {
    justify-content: space-between;
        gap: 10px;
        margin-top: 30px;
        padding-top: 20px;
    }

    .wcc-btn {
        padding: 11px 20px;
        font-size: 13px;
    }

    .wcc-summary-box {
        padding: 15px;
    }

    .wcc-summary-section h4 {
        font-size: 12px;
    }

    .wcc-summary-value {
        font-size: 15px;
    }
}
/* Date Input Disabled State */
input[type="date"]:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

input[type="date"].has-disabled-days {
    border-color: #ffb3b3;
    background-color: #fff9f9;
}

/* Message for disabled dates */
.wcc-form-message.error {
    background-color: #fff5f5;
    border-color: #ffb3b3;
    color: #d63031;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 12px 0;
    border-left: 4px solid #d63031;
}/* ========================================
   CALENDAR WIDGET STYLES
   ======================================== */

.wcc-calendar-widget {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin: 16px 0;
    font-family: inherit;
}

/* Calendar Header */
.wcc-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.wcc-calendar-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    flex: 1;
    white-space: nowrap;
}

.wcc-calendar-btn {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.wcc-calendar-btn:hover:not(:disabled) {
    background: #5563d6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.wcc-calendar-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    opacity: 0.6;
}

.wcc-calendar-btn:active:not(:disabled) {
    transform: translateY(0);
}

.wcc-icon {
    display: block;
}

/* Calendar Body */
.wcc-calendar-body {
    margin-bottom: 20px;
}

.wcc-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.wcc-weekday {
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: #718096;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* Calendar Day */
.wcc-calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border: 2px solid transparent;
    line-height: 1;
    padding: 4px;
}

/* Day Status: Available */
.wcc-calendar-day.available {
    background: #e6f2ff;
    color: #1e40af;
    border-color: #bfdbfe;
}

.wcc-calendar-day.available:hover {
    background: #bfdbfe;
    border-color: #3b82f6;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.wcc-calendar-day.available.selected {
    background: #3b82f6;
    color: white;
    border-color: #1e40af;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Day Status: Limited */
.wcc-calendar-day.limited {
    background: #fef3c7;
    color: #92400e;
    border-color: #fbbf24;
}

.wcc-calendar-day.limited:hover {
    background: #fcd34d;
    border-color: #f59e0b;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.wcc-calendar-day.limited.selected {
    background: #f59e0b;
    color: white;
    border-color: #92400e;
}

/* Day Status: Disabled */
.wcc-calendar-day.disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

.wcc-calendar-day.disabled:hover {
    background: #f3f4f6;
    transform: none;
}

/* Day Status: Past */
.wcc-calendar-day.past {
    background: #f9fafb;
    color: #d1d5db;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

/* Today indicator */
.wcc-calendar-day.today {
    border-color: #0284c7;
    border-width: 2px;
}

.wcc-calendar-day.today.available {
    border-color: #3b82f6;
}

/* Availability info */
.wcc-day-slots {
    font-size: 10px;
    margin-top: 2px;
    opacity: 0.85;
    font-weight: 500;
}

/* Calendar Legend */
.wcc-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid #e5e7eb;
}

.wcc-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4b5563;
}

.wcc-legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #d0d0d0;
}

.wcc-legend-color.available {
    background: #e6f2ff;
    border-color: #bfdbfe;
}

.wcc-legend-color.limited {
    background: #fef3c7;
    border-color: #fbbf24;
}

.wcc-legend-color.disabled {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

/* Selected Date Display */
.wcc-selected-date {
    background: #f0f9ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
    color: #1e40af;
    font-size: 15px;
    display: none;
}

.wcc-selected-date.show {
    display: block;
    animation: slideDown 0.2s ease-out;
}

.wcc-date-value {
    font-weight: 600;
    color: #3b82f6;
}

/* Responsive Design */
@media (max-width: 600px) {
    .wcc-calendar-widget {
        padding: 16px;
    }
    
    .wcc-calendar-title {
        font-size: 16px;
    }
    
    .wcc-calendar-day {
        min-height: 45px;
        font-size: 12px;
    }
    
    .wcc-calendar-header {
        margin-bottom: 16px;
    }
    
    .wcc-calendar-legend {
        gap: 12px;
    }
    
    .wcc-legend-item {
        font-size: 12px;
        flex: 0 0 calc(50% - 6px);
    }
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Fix - Ensure visibility */
.wcc-form-navigation {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding: 25px 0;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.wcc-btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: white !important;
    padding: 14px 36px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
    transition: all 0.2s ease;
}

.wcc-btn-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
}

.wcc-btn-secondary {
    background: #f1f5f9 !important;
    color: #475569 !important;
    padding: 14px 36px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer;
}

.wcc-btn-secondary:hover {
    background: #e2e8f0 !important;
}

/* Hide spacer when prev button hidden */
#prev-btn[style*="display: none"] + .wcc-nav-spacer {
    display: none;
}

/* Stepper Line Spacing Fix */
.wcc-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 65%;
    width: 70%;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
    z-index: 0;
}

/* ============================================
   FINAL FIXES - Line Spacing & Navigation
   ============================================ */

/* Connector lines - START after circle, END before next circle */
.wcc-step {
    position: relative;
}
.wcc-step:not(:last-child)::after {
    content: '' !important;
    position: absolute !important;
    top: 20px !important;
    left: calc(50% + 25px) !important;
    width: calc(100% - 50px) !important;
    height: 2px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    z-index: 0 !important;
}

/* NAVIGATION BUTTONS - Force visible */
.wcc-form-navigation {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 30px 0 !important;
    margin-top: 30px !important;
    border-top: 1px solid #e5e7eb !important;
    gap: 20px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.wcc-btn-prev,
.wcc-btn-next,
.wcc-btn-submit,
button[class*="prev"],
button[class*="next"],
.wcc-form-navigation button {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    min-width: 140px !important;
    justify-content: center !important;
    align-items: center !important;
}

.wcc-btn-prev,
button[class*="prev"] {
    background: #f3f4f6 !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
}

.wcc-btn-prev:hover,
button[class*="prev"]:hover {
    background: #e5e7eb !important;
}

.wcc-btn-next,
.wcc-btn-submit,
button[class*="next"] {
    background: linear-gradient(135deg, #0891b2 0%, #0369a1 100%) !important;
    color: white !important;
    border: none !important;
}

.wcc-btn-next:hover,
.wcc-btn-submit:hover,
button[class*="next"]:hover {
    background: linear-gradient(135deg, #0e7490 0%, #075985 100%) !important;
}

/* Ensure hidden buttons stay hidden when JS sets them */
.wcc-btn-prev[style*="display: none"],
.wcc-btn-next[style*="display: none"],
.wcc-btn-submit[style*="display: none"] {
    display: none !important;
}

/* ============================================
   ULTRA AGGRESSIVE FIXES v2
   ============================================ */

/* CONNECTOR LINES - exact positioning outside circles (40px circles) */
.wcc-booking-steps .wcc-step {
    position: relative !important;
}
.wcc-booking-steps .wcc-step:not(:last-child)::after {
    content: '' !important;
    position: absolute !important;
    top: 20px !important;
    left: calc(50% + 22px) !important;
    width: calc(100% - 44px) !important;
    height: 2px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    z-index: 0 !important;
    right: auto !important;
}

/* NAVIGATION - Target by ID for maximum specificity */
#wcc-booking-form .wcc-form-navigation,
.wcc-booking-form .wcc-form-navigation,
.wcc-form-navigation {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 30px 0 !important;
    margin-top: 30px !important;
    border-top: 1px solid #e5e7eb !important;
    gap: 15px !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 100 !important;
}

/* Target buttons by ID */
#prev-btn,
#next-btn,
#submit-btn {
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    min-width: 150px !important;
    text-align: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 101 !important;
}

#prev-btn {
    background: #f3f4f6 !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
}

#next-btn {
    background: linear-gradient(135deg, #0891b2 0%, #0369a1 100%) !important;
    color: white !important;
    border: none !important;
    display: inline-block !important;
}

#submit-btn {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: white !important;
    border: none !important;
}

#prev-btn:hover {
    background: #e5e7eb !important;
}

#next-btn:hover,
#submit-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3) !important;
}

/* Hide spacer to let flexbox work */
.wcc-nav-spacer {
    flex: 1 !important;
}

/* ============================================
   COMPACT LAYOUT - Make navigation visible
   ============================================ */

/* Reduce container margins */
.wcc-booking-container {
    margin: 20px auto !important;
    padding: 0 15px !important;
}

/* Reduce stepper padding */
.wcc-booking-steps {
    padding: 15px 20px !important;
}

/* Reduce form padding */
.wcc-booking-form {
    padding: 20px !important;
}

/* Smaller heading margin */
.wcc-form-step h3 {
    margin: 0 0 15px !important;
    font-size: 20px !important;
}

/* Compact service cards */
.wcc-service-options {
    gap: 12px !important;
    margin-bottom: 15px !important;
}

.wcc-service-content {
    padding: 15px 12px !important;
}

.wcc-service-icon {
    font-size: 24px !important;
    margin-bottom: 6px !important;
}

.wcc-service-title {
    font-size: 14px !important;
    margin-bottom: 2px !important;
}

.wcc-service-desc {
    font-size: 11px !important;
}

/* Compact navigation - closer to content */
.wcc-form-navigation {
    margin-top: 20px !important;
    padding-top: 20px !important;
    padding-bottom: 10px !important;
}

/* Make sure error span doesn't add extra space */
.wcc-field-error.wcc-service-error {
    min-height: 0 !important;
    margin: 5px 0 !important;
}


/* ============================================
   BOOKING FORM ONLY - Scoped overrides
   ============================================ */

/* Only target elements INSIDE the booking container */
.wcc-booking-container,
.wcc-booking-container *,
.wcc-booking-form-wrapper,
.wcc-booking-form-wrapper *,
.wcc-booking-page-content,
.wcc-booking-page-content * {
    overflow: visible !important;
}

/* Force form to have natural height */
#wcc-booking-form {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}

/* Super-force the navigation button visibility */
.wcc-booking-form-wrapper .wcc-form-navigation,
#wcc-booking-form .wcc-form-navigation {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 70px !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 100 !important;
}

/* Target button with high specificity but scoped to booking form */
.wcc-booking-container #next-btn,
#wcc-booking-form #next-btn,
.wcc-form-navigation #next-btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 48px !important;
    background: linear-gradient(135deg, #0891b2 0%, #0369a1 100%) !important;
    color: white !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
}

/* ============================================
   NEW STEP NAVIGATION - Inside each step
   ============================================ */
.wcc-step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
    gap: 15px;
}

.wcc-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    min-width: 150px;
    transition: all 0.2s ease;
    border: none;
}

.wcc-nav-prev {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.wcc-nav-prev:hover {
    background: #e5e7eb;
}

.wcc-nav-next {
    background: linear-gradient(135deg, #0891b2 0%, #0369a1 100%);
    color: white;
}

.wcc-nav-next:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.wcc-nav-submit {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

.wcc-nav-submit:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Responsive */
@media (max-width: 500px) {
    .wcc-step-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .wcc-nav-btn {
        width: 100%;
        min-width: auto;
    }
}
