/* css/appointment_wizard.css */

/* =========================================
   1. WIZARD CONTAINER & PROGRESS
   ========================================= */
.booking-wrapper {
    background: #050505;
    min-height: 100vh;
    overflow-x: hidden;
}

.wizard-card {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 0; /* Padding handled by inner sections */
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    min-height: 600px; /* Ensure height consistency */
    display: flex;
    flex-direction: column;
}

/* Red Tech Line Top */
.wizard-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: #ff2e2e;
    box-shadow: 0 0 15px #ff2e2e;
    z-index: 10;
}

/* Progress Bar */
.wizard-progress {
    background: #111;
    height: 6px;
    width: 100%;
    position: relative;
}
.progress-bar-fill {
    background: #ff2e2e;
    height: 100%;
    width: 0%; /* JS will animate this */
    transition: width 0.5s ease;
    box-shadow: 0 0 10px #ff2e2e;
}

/* =========================================
   2. STEPS ANIMATION (Slide/Fade)
   ========================================= */
.wizard-step {
    display: none; /* Hidden by default */
    padding: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    flex-grow: 1;
}

.wizard-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   3. FORM INPUTS (Large & Techy)
   ========================================= */
.input-group-tech {
    margin-bottom: 2rem;
    position: relative;
}

.label-tech {
    color: #666;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.input-tech {
    background: transparent;
    border: none;
    border-bottom: 2px solid #333;
    color: #fff;
    font-size: 1.5rem; /* Big text */
    padding: 10px 0;
    width: 100%;
    transition: 0.3s;
    border-radius: 0;
}

.input-tech:focus {
    outline: none;
    border-color: #ff2e2e;
    box-shadow: 0 1px 0 0 #ff2e2e;
}

/* Dropdown styling */
.select-tech {
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 15px;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
}

/* =========================================
   4. NAVIGATION BUTTONS
   ========================================= */
.wizard-footer {
    padding: 20px 40px;
    background: #0f0f0f;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.btn-wizard {
    padding: 12px 30px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid transparent;
    transition: 0.3s;
    cursor: pointer;
}

.btn-next {
    background: #ff2e2e;
    color: #fff;
    border-color: #ff2e2e;
}
.btn-next:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 46, 46, 0.5);
}

.btn-prev {
    background: transparent;
    color: #666;
    border: 1px solid #333;
}
.btn-prev:hover {
    color: #fff;
    border-color: #fff;
}

/* =========================================
   5. MAP & SPECIALTY FIELDS
   ========================================= */
#map {
    height: 250px;
    width: 100%;
    border: 1px solid #333;
    margin-top: 15px;
    filter: grayscale(100%) invert(90%) hue-rotate(180deg); /* Dark Mode Map Hack */
}

/* Success Animation Step */
.success-checkmark {
    text-align: center;
    color: #ff2e2e;
    font-size: 5rem;
    margin-bottom: 20px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ADD TO css/appointment_wizard.css */

/* Autocomplete Dropdown Container */
.suggestions-box {
    background: #0f0f0f;
    border: 1px solid #333;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: 1000;
    display: none; /* Hidden by default */
    box-shadow: 0 10px 20px rgba(0,0,0,0.8);
}

/* Individual Suggestion Item */
.suggestion-item {
    padding: 12px 15px;
    border-bottom: 1px solid #222;
    color: #ccc;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.suggestion-item:hover {
    background: #1a1a1a;
    color: #ff2e2e;
    padding-left: 20px; /* Slide effect */
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item i {
    margin-right: 10px;
    font-size: 0.8rem;
    color: #555;
}

.suggestion-item:hover i {
    color: #ff2e2e;
}

/* Scrollbar for the list */
.suggestions-box::-webkit-scrollbar {
    width: 5px;
}
.suggestions-box::-webkit-scrollbar-track {
    background: #000;
}
.suggestions-box::-webkit-scrollbar-thumb {
    background: #333;
}