/* Premium Minimalist Stylesheet for EPMAS Group Visits AJAX Booking Wizard */
/* Fully aligned with the National Gallery (ΕΠΜΑΣ) design identity */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

header.entry-header,
.storefront-primary-navigation,
.site-header-cart,
.site-search,
.storefront-breadcrumb,
.storefront-handheld-footer-bar,
.widget_shopping_cart {
    display: none !important;
}

.site-header {
    margin-bottom: 0px !important;
}

.entry-content>*:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    max-width: 1600px;
    width: calc(100% - 0rem) !important;
}

.epmas-wizard-container {
    max-width: 1000px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 0px;
    /* Flat architectural style */
    padding: 10px 10px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #000000;
    border: 1px solid #000000;
    /* Minimal black border */
    box-shadow: none;
    /* Flat design */
}

/* Stepper Progress Bar */
.epmas-wizard-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 25px;
    padding: 0 10px;
}

.epmas-wizard-stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 1px;
    /* Minimal thin divider line */
    background: #000000;
    z-index: 1;
}

.epmas-wizard-stepper .step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90px;
}

.epmas-wizard-stepper .step .step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #000000;
    transition: all 0.25s ease;
}

.epmas-wizard-stepper .step .step-title {
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    /* Brand uppercase style */
    letter-spacing: 0.8px;
    color: #9ca3af;
    transition: color 0.25s;
}

/* Completed and Active Steps */
.epmas-wizard-stepper .step.completed .step-num {
    background: #007a8c;
    /* Brand Teal */
    border-color: #007a8c;
    color: #ffffff;
}

.epmas-wizard-stepper .step.completed .step-title {
    color: #007a8c;
}

.epmas-wizard-stepper .step.active .step-num {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.epmas-wizard-stepper .step.active .step-title {
    color: #000000;
    font-weight: 800;
}

/* Step Panels */
.epmas-wizard-step-panel {
    display: none;
    animation: fadeIn 0.35s ease;
}

.epmas-wizard-step-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.epmas-wizard-step-panel h2 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    /* Brand uppercase header */
    letter-spacing: 0.5px;
    color: #000000;
    margin-top: 0;
    margin-bottom: 12px;
    border-bottom: 2px solid #000000;
    /* Bold underline separator */
    padding-bottom: 10px;
}

.epmas-wizard-step-panel .step-desc {
    color: #555555;
    font-size: 13.5px;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Category Grid */
.epmas-visit-type-grid,
.epmas-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.visit-type-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    /* Elegant rounded corners for premium feel */
    padding: 30px 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 140px;
}

/* Premium Hover Effect & Glassmorphism Shadow */
.visit-type-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 122, 140, 0.02) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.visit-type-card>* {
    position: relative;
    z-index: 1;
}

.visit-type-card:hover {
    border-color: #007a8c;
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -8px rgba(0, 122, 140, 0.2), 0 4px 10px -4px rgba(0, 0, 0, 0.1);
}

.visit-type-card.active {
    border-color: #007a8c;
    /* Brand Teal */
    border-width: 2px;
    background: rgba(0, 122, 140, 0.03);
    box-shadow: inset 0 0 0 1px rgba(0, 122, 140, 0.05);
}

.visit-type-card .card-icon {
    margin-bottom: 20px;
}

.visit-type-card h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000000;
}

.visit-type-card p {
    margin: 0;
    font-size: 13px;
    color: #555555;
    line-height: 1.5;
}

/* Inputs & Forms */
.epmas-people-input-box {
    background: #fafafa;
    border: 1px solid #e5e7eb;
    padding: 25px;
    border-radius: 0px;
    margin-bottom: 35px;
}

.epmas-people-input-box label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000000;
}

.epmas-people-input-box input[type="number"] {
    width: 110px;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid #000000;
    border-radius: 0px;
    text-align: center;
}

.epmas-people-input-box .description {
    font-size: 12px;
    color: #666666;
    margin: 8px 0 0 0;
}

.epmas-form-group {
    margin-bottom: 25px;
}

.epmas-form-group label {
    display: block;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    color: #000000;
    font-size: 13px;
}

.epmas-form-group select,
.epmas-form-group input[type="text"],
.epmas-form-group input[type="email"],
.epmas-form-group input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 0px;
    background: #ffffff;
    box-sizing: border-box;
    transition: all 0.2s ease;
    color: #000000;
}

.epmas-form-group select:focus,
.epmas-form-group input[type="text"]:focus,
.epmas-form-group input[type="email"]:focus,
.epmas-form-group input[type="tel"]:focus {
    border-color: #007a8c;
    /* Brand Teal Focus */
    outline: none;
}

.epmas-form-row {
    display: flex;
    gap: 20px;
}

.epmas-form-row .epmas-form-group {
    flex: 1;
}

.width-50 {
    width: 50%;
}

@media (max-width: 600px) {
    .epmas-form-row {
        flex-direction: column;
        gap: 0;
    }

    .width-50 {
        width: 100%;
    }
}

.tour-type-details-box {
    margin-top: 15px;
    background: #f0f7f9;
    border-left: 4px solid #007a8c;
    padding: 15px 20px;
    border-radius: 0px;
    font-size: 13.5px;
    color: #333333;
    line-height: 1.5;
}

/* Interactive Calendar */
.epmas-calendar-wrapper {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 0px;
    padding: 15px;
}

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

.epmas-calendar-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #000000;
}

.calendar-nav-btn {
    background: #007a8c;
    border: 1px solid #000000;
    border-radius: 0px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.calendar-nav-btn:hover {
    background: #000000;
    color: #ffffff;
}

.epmas-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666666;
    margin-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
}

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

.epmas-calendar-days .day {
    aspect-ratio: 1.1;
    max-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 600;
    color: #cbd5e1;
    border-radius: 0px;
    cursor: not-allowed;
    transition: all 0.2s ease;
}

/* Calendar Day States */
.epmas-calendar-days .day.valid-day {
    color: #007a8c;
    /* Brand Teal */
    background: rgba(0, 122, 140, 0.04);
    border: 1px solid rgba(0, 122, 140, 0.12);
    cursor: pointer;
}

.epmas-calendar-days .day.valid-day:hover {
    background: #007a8c;
    color: #ffffff;
}

.epmas-calendar-days .day.selected-day {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.epmas-calendar-days .day.empty {
    background: transparent;
    border: none;
    cursor: default;
}

.epmas-calendar-days .day.inactive-day {
    color: #cbd5e1;
    cursor: not-allowed;
}

.selected-date-status-box {
    margin-top: 10px;
    background: #f0f7f9;
    border: 1px solid #007a8c;
    padding: 8px 15px;
    border-radius: 0px;
    font-size: 13px;
    color: #007a8c;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Timeslot Grid buttons */
.epmas-slots-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 15px;
}

.slot-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 0px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000000;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slot-btn:hover {
    border-color: #007a8c;
    color: #007a8c;
}

.slot-btn.active {
    background: #007a8c;
    /* Brand Teal Active */
    border-color: #007a8c;
    color: #ffffff;
}

.slot-btn .slot-time-range {
    font-size: 14px;
    margin-bottom: 4px;
}

.slot-btn .slot-status-lbl {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.8;
}

/* Summary Card */
.epmas-wizard-summary-card {
    background: #fafafa;
    border: 1px solid #cbd5e1;
    border-radius: 0px;
    padding: 25px;
    margin-top: 30px;
}

.epmas-wizard-summary-card h3 {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #000000;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 10px;
}

.summary-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 20px;
    font-size: 13.5px;
    color: #333333;
}

.summary-details strong {
    color: #000000;
}

/* Action Buttons */
.epmas-wizard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    border-top: 1px solid #cbd5e1;
    padding-top: 15px;
}

.epmas-wizard-step-panel[data-step="1"] .epmas-wizard-actions {
    justify-content: flex-end;
}

.epmas-btn {
    padding: 12px 26px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-prev {
    background: #ffffff;
    border-color: #000000;
    color: #000000;
}

.btn-prev:hover {
    background: #000000;
    color: #ffffff;
}

.btn-next {
    background: #007a8c;
    /* Brand Teal */
    color: #ffffff;
}

.btn-next:hover:not(:disabled) {
    background: #005f6d;
}

.btn-next:disabled {
    background: #e5e7eb;
    border-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-submit {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.btn-submit:hover {
    background: #ffffff;
    color: #000000;
}

/* Wizard Message boxes */
/* Premium Floating Toast Notifications */
.epmas-wizard-msg {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 99999;
    min-width: 320px;
    max-width: 420px;
    padding: 15px 20px;
    border-radius: 0px;
    /* Flat layout */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: epmas-toast-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 5px solid transparent;
}

@keyframes epmas-toast-in {
    from {
        transform: translateY(-20px) translateX(20px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 1;
    }
}

.epmas-wizard-msg.success {
    background: #ffffff;
    border-left-color: #10b981;
    color: #065f46;
    border-top: 1px solid #ecfdf5;
    border-right: 1px solid #ecfdf5;
    border-bottom: 1px solid #ecfdf5;
}

.epmas-wizard-msg.error {
    background: #ffffff;
    border-left-color: #ef4444;
    color: #991b1b;
    border-top: 1px solid #fef2f2;
    border-right: 1px solid #fef2f2;
    border-bottom: 1px solid #fef2f2;
}

.epmas-wizard-msg.info {
    background: #ffffff;
    border-left-color: #007a8c;
    color: #007a8c;
    border-top: 1px solid #f0f7f9;
    border-right: 1px solid #f0f7f9;
    border-bottom: 1px solid #f0f7f9;
}

/* Premium Glassmorphism Loader Overlay */
.epmas-wizard-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 0px;
    animation: fadeIn 0.2s ease;
}

.epmas-spinner {
    width: 40px;
    height: 40px;
    border: 3.5px solid rgba(0, 122, 140, 0.1);
    border-top: 3.5px solid #007a8c;
    /* Brand Teal */
    border-radius: 50%;
    animation: epmas-spin 0.8s linear infinite;
    margin-bottom: 12px;
}

.epmas-loader-text {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #007a8c;
}

@keyframes epmas-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* ==========================================================================
   Responsive Tweaks
   ========================================================================== */
@media (max-width: 768px) {

    /* Fit stepper without scroll */
    .epmas-wizard-stepper {
        overflow: visible;
        padding: 0;
        gap: 0;
        justify-content: space-between;
    }

    .epmas-wizard-stepper::before {
        left: 15px;
        right: 15px;
        width: auto;
        min-width: 0;
        top: 15px;
        /* Adjust line to the center of smaller circles */
    }

    .epmas-wizard-stepper .step {
        width: 19%;
        flex: unset;
    }

    .epmas-wizard-stepper .step .step-num {
        width: 30px;
        height: 30px;
        font-size: 13px;
        margin: 0 auto;
    }

    .epmas-wizard-stepper .step .step-title {
        font-size: 8px;
        letter-spacing: 0;
        margin-top: 6px;
    }

    /* Make Breadcrumbs smaller on mobile */
    .woocommerce-breadcrumb,
    .breadcrumb,
    .breadcrumbs {
        font-size: 11px !important;
        padding: 5px 0 !important;
        margin-bottom: 10px !important;
    }
}

/* Διακριτικό footer credit στο κάτω μέρος του wizard */
.epmas-wizard-credit {
    text-align: center;
    font-size: 10px;
    color: #b0b0b0;
    margin-top: 15px;
    padding-top: 8px;
}

.epmas-wizard-credit a {
    color: #b0b0b0;
    text-decoration: none;
}

.epmas-wizard-credit a:hover {
    color: #007a8c;
    text-decoration: underline;
}