/**
 * Booking Wizard - Clean Medical Design
 */

/* Container - Clean Full Width */
.vc-booking-wizard-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 30px 5%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    direction: rtl;
    min-height: 100vh;
    background: #FAFAFA;
}

/* Medical Header */
.vc-booking-header {
    background: linear-gradient(135deg, #00A79D 0%, #008A7F 100%);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 8px 32px rgba(0, 167, 157, 0.3);
    position: relative;
    overflow: hidden;
}

.vc-booking-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.vc-booking-header-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.vc-booking-header-icon .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: white;
}

.vc-booking-header-text {
    flex: 1;
}

.vc-booking-header h1 {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.vc-booking-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

/* Booking Card */
.vc-booking-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

/* Progress Indicator - Medical Design */
.vc-wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 167, 157, 0.05) 0%, rgba(0, 138, 127, 0.05) 100%);
    position: relative;
}

.vc-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.vc-step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 3px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.vc-step-number {
    font-size: 24px;
    font-weight: 700;
    color: #9CA3AF;
}

/* Material Icons - Clean & Professional */
.vc-step-circle .material-icons-outlined {
    font-size: 28px;
    color: #9CA3AF;
    display: none;
    transition: all 0.3s ease;
}

/* Show icon and hide number when active/completed */
.vc-progress-step.active .vc-step-circle .material-icons-outlined,
.vc-progress-step.completed .vc-step-circle .material-icons-outlined {
    display: block;
    color: white;
}

.vc-progress-step.active .vc-step-number,
.vc-progress-step.completed .vc-step-number {
    display: none;
}

/* Remove old icons */
.vc-step-circle::before,
.vc-step-circle::after,
.vc-step-circle i {
    display: none;
}

/* Active Step */
.vc-progress-step.active .vc-step-circle {
    background: linear-gradient(135deg, #00A79D 0%, #008A7F 100%);
    border-color: #00A79D;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 167, 157, 0.4);
}

.vc-progress-step.active .vc-step-circle .dashicons {
    display: block;
    color: white;
}

.vc-progress-step.active .vc-step-number {
    display: none;
}

.vc-progress-step.active .vc-step-label {
    color: #00A79D;
    font-weight: 600;
}

/* Completed Step */
.vc-progress-step.completed .vc-step-circle {
    background: #10B981;
    border-color: #10B981;
}

.vc-progress-step.completed .vc-step-circle .dashicons {
    display: block;
    color: white;
}

.vc-progress-step.completed .vc-step-number {
    display: none;
}

.vc-step-label {
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
    text-align: center;
    transition: all 0.3s;
}

/* Progress Connector */
.vc-progress-connector {
    flex: 1;
    height: 3px;
    background: #E5E7EB;
    margin: 0 -20px;
    margin-top: -42px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.vc-progress-step.completed+.vc-progress-connector {
    background: linear-gradient(90deg, #10B981 0%, #00A79D 100%);
}

/* ==========================================================================
   Wizard Steps
   ========================================================================== */

.vc-wizard-steps {
    padding: 40px;
    min-height: 400px;
}

.vc-wizard-step {
    display: none;
}

.vc-wizard-step.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vc-step-header {
    text-align: center;
    margin-bottom: 30px;
}

.vc-step-header h2 {
    font-size: 28px;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.vc-step-description {
    color: #7f8c8d;
    font-size: 15px;
}

/* Pharmacist Cards - Vertical Professional Profile */
.vc-pharmacists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.vc-pharmacist-card {
    background: white;
    border: 2px solid rgba(0, 167, 157, 0.12);
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 320px;
    margin: 0 auto;
    min-height: 480px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Card Gradient Header */
.vc-pharmacist-card-header {
    background: linear-gradient(135deg, #E0F2F1 0%, #B2DFDB 100%);
    padding: 24px 20px 16px;
    position: relative;
    flex-shrink: 0 !important;
}

.vc-pharmacist-card:hover {
    border-color: #00A79D;
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 167, 157, 0.15);
}

.vc-pharmacist-card.selected {
    border-color: #00A79D;
    box-shadow: 0 12px 40px rgba(0, 167, 157, 0.25);
    transform: translateY(-4px);
}

.vc-pharmacist-card.selected .vc-pharmacist-card-header {
    background: linear-gradient(135deg, #B2DFDB 0%, #80CBC4 100%);
}

/* Card Body */
.vc-pharmacist-card-body {
    padding: 20px 24px 28px;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Higher Specificity Override - Force Card Height */
body .vc-pharmacist-card,
html .vc-pharmacist-card {
    min-height: 480px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

body .vc-pharmacist-card-body,
html .vc-pharmacist-card-body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Name & Specialty at Top */
.vc-pharmacist-name {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.vc-pharmacist-specialty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(0, 167, 157, 0.1);
    color: #00A79D;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.vc-pharmacist-specialty .material-icons-outlined {
    font-size: 16px;
}

/* Rating Display */
.vc-pharmacist-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    color: #F59E0B;
    font-size: 14px;
    font-weight: 600;
}

.vc-pharmacist-rating .material-icons-outlined {
    font-size: 18px;
    color: #F59E0B;
}

.vc-pharmacist-rating .rating-count {
    color: #9CA3AF;
    font-size: 12px;
    font-weight: 500;
    margin-right: 4px;
}

/* Avatar - Large with Animated Ring */
.vc-pharmacist-avatar {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 20px auto 0;
}

/* Animated Gradient Ring */
.vc-pharmacist-avatar::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, #00A79D 0%, #008A7F 50%, #00A79D 100%);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradient-rotate 3s linear infinite;
}

@keyframes gradient-rotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.vc-pharmacist-card:hover .vc-pharmacist-avatar::before,
.vc-pharmacist-card.selected .vc-pharmacist-avatar::before {
    opacity: 1;
}

.vc-pharmacist-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 8px 24px rgba(0, 167, 157, 0.15);
    background: linear-gradient(135deg, #E0F2F1 0%, #B2DFDB 100%);
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.vc-pharmacist-avatar img:hover,
.vc-pharmacist-avatar img:focus,
.vc-pharmacist-avatar img:active {
    outline: none !important;
    box-shadow: 0 8px 24px rgba(0, 167, 157, 0.15) !important;
}

/* Gender Icon Fallback */
.vc-pharmacist-avatar .vc-gender-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E0F2F1 0%, #B2DFDB 100%);
    border: 5px solid white;
    box-shadow: 0 8px 24px rgba(0, 167, 157, 0.15);
}

.vc-pharmacist-avatar .vc-gender-icon .material-icons-outlined {
    font-size: 60px;
    color: #00A79D;
}

/* Online Badge */
.vc-online-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: #10B981;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    z-index: 3;
}

.vc-online-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #10B981;
    animation: pulse-online 2s ease-in-out infinite;
}

@keyframes pulse-online {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Selected Badge */
.vc-selected-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    font-weight: 700;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    z-index: 10;
}

.vc-pharmacist-info h3 {
    font-size: 20px;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

/* Bio & Info */
.vc-pharmacist-bio {
    color: #6B7280;
    font-size: 13px;
    line-height: 1.6;
    margin: 16px 0;
    padding: 0 8px;
    min-height: 42px !important;
    max-height: 42px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Force bio to always exist (even if empty) */
.vc-pharmacist-card-body::after {
    content: '';
    display: block;
    min-height: 42px;
}

.vc-pharmacist-certs {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #F3F4F6;
    min-height: 38px !important;
}

.vc-pharmacist-certs small {
    color: #6B7280;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   Step 2: Date & Time
   ========================================================================== */

.vc-datetime-container {
    max-width: 600px;
    margin: 0 auto;
}

.vc-date-section,
.vc-time-section {
    margin-bottom: 30px;
}

.vc-date-section label,
.vc-time-section label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 16px;
}

.vc-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.vc-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Time Slots - Medical Design */
.vc-time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.vc-time-slot {
    padding: 14px;
    border: 2px solid rgba(0, 167, 157, 0.2);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

.vc-time-slot.available:hover {
    background: rgba(0, 167, 157, 0.05);
    border-color: #00A79D;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 167, 157, 0.15);
}

.vc-time-slot.selected {
    background: linear-gradient(135deg, #00A79D 0%, #008A7F 100%);
    border-color: #00A79D;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 167, 157, 0.4);
}

.vc-time-slot.booked {
    background: #F3F4F6;
    color: #9CA3AF;
    cursor: not-allowed;
    opacity: 0.5;
    border-color: #E5E7EB;
}

.vc-loading-slots {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

/* ==========================================================================
   Step 3: Patient Form
   ========================================================================== */

.vc-booking-form {
    max-width: 600px;
    margin: 0 auto;
}

.vc-form-group {
    margin-bottom: 24px;
}

.vc-form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 15px;
}

.vc-required {
    color: #e74c3c;
}

.vc-form-group input[type="text"],
.vc-form-group input[type="tel"],
.vc-form-group input[type="email"],
.vc-form-group select,
.vc-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.vc-form-group input:focus,
.vc-form-group select:focus,
.vc-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.vc-help-text {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #95a5a6;
}

/* File Upload */
.vc-file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.vc-file-upload-area:hover {
    border-color: #667eea;
    background: #f8f9fa;
}

.vc-file-info {
    margin-top: 10px;
}

.vc-uploaded-files-list {
    margin-top: 20px;
}

.vc-uploaded-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
}

.vc-file-name {
    font-size: 14px;
    color: #2c3e50;
}

.vc-remove-file {
    background: #e74c3c;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.vc-remove-file:hover {
    background: #c0392b;
}

/* Progress Bar */
.vc-progress-bar {
    position: relative;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin-top: 15px;
    overflow: hidden;
}

.vc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s;
    border-radius: 4px;
}

.vc-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: bold;
    color: #2c3e50;
}

/* ==========================================================================
   Step 4: Confirmation
   ========================================================================== */

.vc-confirmation-ticket {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

/* Success Animation */
.vc-success-animation {
    margin: 20px auto 30px;
}

.vc-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.vc-checkmark-svg {
    width: 100%;
    height: 100%;
}

.vc-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke: #27ae60;
    stroke-width: 2;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.vc-checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #27ae60;
    stroke-width: 3;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.vc-ticket-title {
    font-size: 26px;
    color: #27ae60;
    margin: 0 0 10px 0;
}

.vc-ticket-subtitle {
    color: #7f8c8d;
    margin-bottom: 30px;
}

.vc-ticket-details {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.vc-ticket-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    text-align: right;
}

.vc-ticket-section:last-child {
    border-bottom: none;
}

.vc-ticket-avatar {
    width: 60px;
    height: 60px;
}

.vc-ticket-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.vc-ticket-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.vc-ticket-info {
    flex: 1;
}

.vc-ticket-label {
    font-size: 12px;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vc-ticket-value {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 4px;
}

.vc-ticket-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ==========================================================================
   Navigation Buttons
   ========================================================================== */

.vc-wizard-navigation {
    display: flex;
    justify-content: space-between;
    padding: 25px 40px;
    background: #f8f9fa;
    gap: 15px;
}

/* Buttons - Medical Design */
.vc-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.vc-btn-primary {
    background: linear-gradient(135deg, #00A79D 0%, #008A7F 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 167, 157, 0.3);
}

.vc-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 167, 157, 0.4);
}

.vc-btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 167, 157, 0.2);
    color: #00A79D;
}

.vc-btn-secondary:hover {
    border-color: #00A79D;
    background: white;
    transform: translateY(-2px);
}

.vc-btn-success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.vc-btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.vc-btn-outline {
    background: transparent;
    border: 2px solid #00A79D;
    color: #00A79D;
}

.vc-btn-outline:hover {
    background: #00A79D;
    color: white;
}

.vc-btn-large {
    padding: 18px 40px;
    font-size: 17px;
}

.vc-btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

/* ==========================================================================
   Loading Overlay
   ========================================================================== */

.vc-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.vc-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.vc-spinner-small {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.vc-loading-text {
    color: white;
    margin-top: 20px;
    font-size: 16px;
}

/* ==========================================================================
   Notice Boxes
   ========================================================================== */

.vc-notice {
    padding: 16px 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.vc-notice-info {
    background: #e3f2fd;
    border-right: 4px solid #2196f3;
    color: #1565c0;
}

.vc-notice-error {
    background: #ffebee;
    border-right: 4px solid #f44336;
    color: #c62828;
}

.vc-notice-warning {
    background: #fff3e0;
    border-right: 4px solid #ff9800;
    color: #e65100;
}

/* Smart Suggestion */
#vc-smart-suggestion h4 {
    margin: 0 0 10px 0;
    color: #2196f3;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .vc-wizard-progress {
        padding: 20px;
    }

    .vc-wizard-progress::before {
        display: none;
    }

    .vc-step-label {
        font-size: 11px;
    }

    .vc-wizard-steps {
        padding: 25px 20px;
    }

    .vc-pharmacists-grid {
        grid-template-columns: 1fr;
    }

    .vc-time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .vc-wizard-navigation {
        flex-direction: column;
        padding: 20px;
    }

    .vc-ticket-actions {
        flex-direction: column;
    }

    .vc-btn-large {
        width: 100%;
    }
}

/* ==========================================================================
   Professional Medical Calendar Styling
   ========================================================================== */

/* Calendar Container */
.flatpickr-calendar {
    background: white !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 48px rgba(0, 167, 157, 0.15) !important;
    border: 1px solid rgba(0, 167, 157, 0.1) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Calendar Header - Medical Gradient */
.flatpickr-calendar .flatpickr-months {
    background: linear-gradient(135deg, #00A79D 0%, #008A7F 100%) !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 20px 16px !important;
    margin-bottom: 0 !important;
}

.flatpickr-calendar .flatpickr-month {
    color: white !important;
    height: auto !important;
}

.flatpickr-calendar .flatpickr-current-month {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: white !important;
    padding: 0 !important;
}

.flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    color: white !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
}

.flatpickr-calendar .numInputWrapper {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    border: none !important;
}

.flatpickr-calendar .numInputWrapper input {
    color: white !important;
    font-weight: 700 !important;
}

/* Navigation Arrows */
.flatpickr-calendar .flatpickr-prev-month,
.flatpickr-calendar .flatpickr-next-month {
    fill: white !important;
    padding: 8px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.flatpickr-calendar .flatpickr-prev-month:hover,
.flatpickr-calendar .flatpickr-next-month:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    fill: white !important;
}

/* Weekday Headers */
.flatpickr-calendar .flatpickr-weekdays {
    background: #F9FAFB !important;
    padding: 12px 0 !important;
    margin: 0 !important;
}

.flatpickr-calendar .flatpickr-weekday {
    color: #6B7280 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

/* Days Container */
.flatpickr-calendar .flatpickr-days {
    padding: 8px !important;
}

.flatpickr-calendar .flatpickr-day {
    border-radius: 10px !important;
    border: 2px solid transparent !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin: 2px !important;
    transition: all 0.2s ease !important;
}

/* Default Day (No Status) */
.flatpickr-calendar .flatpickr-day:not(.vc-day-available):not(.vc-day-off):not(.vc-day-unset) {
    color: #374151 !important;
}

.flatpickr-calendar .flatpickr-day:not(.vc-day-available):not(.vc-day-off):not(.vc-day-unset):hover {
    background: #F3F4F6 !important;
    transform: translateY(-2px) !important;
}

/* Available Days - Medical Teal with Icon Effect */
.flatpickr-calendar .flatpickr-day.vc-day-available,
.flatpickr-days .flatpickr-day.vc-day-available {
    background: linear-gradient(135deg, #00A79D 0%, #008A7F 100%) !important;
    color: white !important;
    font-weight: 700 !important;
    border-color: #00A79D !important;
    box-shadow: 0 3px 10px rgba(0, 167, 157, 0.3) !important;
    position: relative !important;
}

.flatpickr-calendar .flatpickr-day.vc-day-available::after {
    content: '' !important;
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    width: 6px !important;
    height: 6px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50% !important;
}

.flatpickr-calendar .flatpickr-day.vc-day-available:hover,
.flatpickr-days .flatpickr-day.vc-day-available:hover {
    background: linear-gradient(135deg, #00BFB3 0%, #00A79D 100%) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(0, 167, 157, 0.4) !important;
}

/* Off Days - Light Professional Slate */
.flatpickr-calendar .flatpickr-day.vc-day-off,
.flatpickr-days .flatpickr-day.vc-day-off {
    background: linear-gradient(135deg, #CBD5E1 0%, #94A3B8 100%) !important;
    color: #475569 !important;
    font-weight: 600 !important;
    border: 2px solid #94A3B8 !important;
    cursor: not-allowed !important;
    box-shadow: 0 2px 6px rgba(148, 163, 184, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Subtle Corner Indicator for Off Days */
.flatpickr-calendar .flatpickr-day.vc-day-off::before {
    content: '' !important;
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    width: 4px !important;
    height: 4px !important;
    background: rgba(71, 85, 105, 0.5) !important;
    border-radius: 50% !important;
}

.flatpickr-calendar .flatpickr-day.vc-day-off:hover,
.flatpickr-days .flatpickr-day.vc-day-off:hover {
    background: linear-gradient(135deg, #CBD5E1 0%, #94A3B8 100%) !important;
    opacity: 0.9 !important;
    border-color: #64748B !important;
}

/* Unset Days - Better Gray Contrast */
.flatpickr-calendar .flatpickr-day.vc-day-unset,
.flatpickr-days .flatpickr-day.vc-day-unset {
    background: #E5E7EB !important;
    color: #9CA3AF !important;
    font-weight: 500 !important;
    border-color: #D1D5DB !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

.flatpickr-calendar .flatpickr-day.vc-day-unset:hover,
.flatpickr-days .flatpickr-day.vc-day-unset:hover {
    background: #E5E7EB !important;
    transform: none !important;
}

/* Today Highlight */
.flatpickr-calendar .flatpickr-day.today {
    border-color: #00A79D !important;
}

.flatpickr-calendar .flatpickr-day.today:not(.vc-day-available):not(.vc-day-off):not(.vc-day-unset) {
    border-color: #00A79D !important;
    color: #00A79D !important;
    font-weight: 700 !important;
}

/* Selected Day Override */
.flatpickr-calendar .flatpickr-day.selected {
    background: #00A79D !important;
    border-color: #00A79D !important;
    box-shadow: 0 4px 12px rgba(0, 167, 157, 0.4) !important;
}

/* Disabled/Past Days - Gray Out Everything */
.flatpickr-calendar .flatpickr-day.flatpickr-disabled,
.flatpickr-calendar .flatpickr-day.prevMonthDay,
.flatpickr-calendar .flatpickr-day.nextMonthDay {
    background: #F3F4F6 !important;
    color: #D1D5DB !important;
    border-color: #E5E7EB !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
    font-weight: 400 !important;
    box-shadow: none !important;
}

.flatpickr-calendar .flatpickr-day.flatpickr-disabled:hover,
.flatpickr-calendar .flatpickr-day.prevMonthDay:hover,
.flatpickr-calendar .flatpickr-day.nextMonthDay:hover {
    background: #F3F4F6 !important;
    transform: none !important;
}

/* Override any status colors for disabled days */
.flatpickr-calendar .flatpickr-day.flatpickr-disabled.vc-day-available,
.flatpickr-calendar .flatpickr-day.flatpickr-disabled.vc-day-off,
.flatpickr-calendar .flatpickr-day.flatpickr-disabled.vc-day-unset {
    background: #F3F4F6 !important;
    color: #D1D5DB !important;
    border-color: #E5E7EB !important;
    box-shadow: none !important;
}

/* Remove any pseudo-elements from disabled days */
.flatpickr-calendar .flatpickr-day.flatpickr-disabled::before,
.flatpickr-calendar .flatpickr-day.flatpickr-disabled::after {
    display: none !important;
}

/* Disable click on unavailable days */
.flatpickr-calendar .flatpickr-day.vc-day-off,
.flatpickr-calendar .flatpickr-day.vc-day-unset,
.flatpickr-days .flatpickr-day.vc-day-off,
.flatpickr-days .flatpickr-day.vc-day-unset {
    pointer-events: all !important;
}

/* Override flatpickr selected state for unavailable days */
.flatpickr-calendar .flatpickr-day.vc-day-off.selected,
.flatpickr-calendar .flatpickr-day.vc-day-unset.selected,
.flatpickr-days .flatpickr-day.vc-day-off.selected,
.flatpickr-days .flatpickr-day.vc-day-unset.selected {
    background: #E5E7EB !important;
    color: #9CA3AF !important;
    border-color: #D1D5DB !important;
}

/* ==========================================================================
   Toast Notification Styles
   ========================================================================== */

.vc-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    pointer-events: none;
}

[dir="rtl"] .vc-toast-container {
    right: auto;
    left: 20px;
}

.vc-toast {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    pointer-events: all;
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid #3b82f6;
}

[dir="rtl"] .vc-toast {
    border-left: none;
    border-right: 4px solid #3b82f6;
}

.vc-toast.hiding {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vc-toast-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 18px;
}

.vc-toast-info .vc-toast-icon {
    background: #dbeafe;
    color: #1e40af;
}

.vc-toast-content {
    flex: 1;
}

.vc-toast-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
    font-size: 14px;
}

.vc-toast-message {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.vc-toast-close {
    width: 24px;
    height: 24px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 16px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.vc-toast-close:hover {
    background: #e5e7eb;
    color: #374151;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

@media (max-width: 768px) {
    .vc-toast-container {
        right: 10px;
        left: 10px;
        top: 10px;
    }

    [dir="rtl"] .vc-toast-container {
        left: 10px;
        right: 10px;
    }

    .vc-toast {
        min-width: auto;
        max-width: none;
    }
}