/* FoneWorld Repair Booking - Industrial Revamp */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

:root {
    --fw-red: #ea1b25;
    /* FoneWorld Red */
    --fw-black: #000000;
    --fw-white: #ffffff;
    --fw-gray: #e5e5e5;
    --fw-border-width: 4px;
    --fw-shadow-offset: 6px;
    --fw-shadow-hover: 10px;
}

* {
    box-sizing: border-box;
}

.fw-booking-wrapper-new {
    font-family: 'Inter', system-ui, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--fw-black);
    background: transparent;
}

#fw-booking-main {
    position: relative;
    padding-top: 2rem;
}

/* Typography */
.fw-main-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    color: var(--fw-black);
    line-height: 0.9;
}

@media (min-width: 768px) {
    .fw-main-title {
        font-size: 3.5rem;
    }
}

.fw-subtitle {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

/* Progress Bar - Industrial Track */
.fw-progress-container {
    margin-bottom: 4rem;
    padding: 0;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.fw-progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    width: 100%;
}

.fw-progress-line {
    background: var(--fw-black);
    height: 4px;
    height: 4px;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 1;
}

.fw-progress-line-fill {
    background: var(--fw-red);
}

.fw-prog-step {
    width: auto;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.fw-prog-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background: var(--fw-white);
    border: 4px solid var(--fw-black);
    border-radius: 0;
    color: var(--fw-black);
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 4px 4px 0px var(--fw-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fw-prog-step.active .fw-prog-icon {
    background: var(--fw-red);
    color: var(--fw-white);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--fw-black);
}

.fw-prog-step.completed .fw-prog-icon {
    background: var(--fw-black);
    color: var(--fw-white);
}

.fw-prog-label {
    display: block;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    font-size: 0.875rem;
    margin-top: 1rem;
    letter-spacing: 0.05em;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.fw-prog-step.active .fw-prog-label {
    opacity: 1;
    color: var(--fw-red);
}

/* Back Button - In Flow */
.fw-back-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    padding: 0;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    color: var(--fw-black);
    transition: all 0.2s;
    margin-bottom: 1.5rem;
    /* Space below button */
    position: relative;
    /* Back to flow */
    top: auto;
    left: auto;
    font-size: 0.875rem;
    /* Slightly smaller */
    cursor: pointer;
}

.fw-back-action:hover {
    color: var(--fw-red);
    transform: translateX(-4px);
    box-shadow: none;
    background: transparent;
}

/* Grids */
.fw-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    /* Smaller min-width */
    gap: 1.5rem;
}

.fw-item-card-new {
    border: 4px solid var(--fw-black);
    border-radius: 0;
    background: var(--fw-white);
    box-shadow: 6px 6px 0px var(--fw-black);
    padding: 1.5rem 1rem;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fw-item-card-new:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0px var(--fw-black);
    border-color: var(--fw-black);
    background: var(--fw-red);
}

.fw-item-card-new:hover h3 {
    color: var(--fw-white);
}

.fw-item-card-new:hover img {
    filter: none;
}

.fw-item-card-new img {
    max-height: 80px;
    /* Smaller images */
    margin-bottom: 1rem;
    filter: none;
    transition: all 0.2s;
}

.fw-item-card-new h3 {
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    font-size: 1rem;
    /* Smaller font */
}

/* Tabs */
.fw-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    /* Grid for tabs */
    gap: 1rem;
}

/* Issue Card - Tabs */

/* Issue Card - Tabs */
.fw-tab-item {
    border: 4px solid var(--fw-black);
    border-radius: 0;
    background: var(--fw-white);
    box-shadow: 6px 6px 0px var(--fw-black);
    width: 100%;
    min-height: 140px;
    /* Reduced height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    /* Reduced padding */
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.fw-tab-label {
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    font-size: 1rem;
    margin-top: 1rem;
    line-height: 1.1;
}

/* Issue Card */
.fw-issue-active-card {
    border: 4px solid var(--fw-black);
    border-radius: 0;
    box-shadow: 12px 12px 0px var(--fw-black);
    padding: 0;
    overflow: hidden;
}

.fw-issue-visual {
    background: var(--fw-black);
    color: var(--fw-white);
    border-right: 4px solid var(--fw-black);
    padding: 3rem;
}

.fw-issue-meta {
    padding: 3rem;
}

.fw-issue-icon-big {
    color: var(--fw-red);
    filter: drop-shadow(4px 4px 0px rgba(0, 0, 0, 0.5));
}

.fw-issue-title-full {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.fw-issue-info-wrap {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.fw-issue-visual {
    background: var(--fw-white);
    /* Inverted */
    color: var(--fw-black);
    /* Inverted */
    border-right: 4px solid var(--fw-black);
    padding: 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.fw-issue-meta {
    padding: 3rem;
    flex: 1;
    background: var(--fw-white);
}

.fw-issue-price-tag {
    color: var(--fw-red);
    font-size: 2.5rem;
    /* Reduced from 3.5rem to fit long labels */
    font-weight: 900;
    font-style: italic;
    text-shadow: 4px 4px 0px var(--fw-black);
    margin: 1rem 0 2rem 0;
    line-height: 1;
}

.fw-btn-book-now {
    width: 100%;
    font-size: 1.5rem !important;
    padding: 1rem 2rem !important;
    white-space: nowrap;
}

/* Primary Button Base */
.fw-btn-primary {
    background: var(--fw-red) !important;
    border: 4px solid var(--fw-white) !important;
    color: var(--fw-white) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    font-style: italic !important;
    box-shadow: 6px 6px 0px var(--fw-white) !important;
    border-radius: 0 !important;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.fw-btn-primary:hover {
    background: var(--fw-white) !important;
    color: var(--fw-black) !important;
    box-shadow: 8px 8px 0px var(--fw-white) !important;
    transform: translate(-2px, -2px) !important;
}

.fw-meta-row {
    border-bottom: 2px solid var(--fw-black);
    padding: 1rem 0;
}

.fw-meta-row .label {
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    font-size: 0.875rem;
    color: var(--fw-red);
    /* fashion red accent */
}

.fw-meta-row .value {
    font-weight: 700;
    font-size: 1.125rem;
}

.fw-arrow-circle {
    color: var(--fw-red);
    /* Make arrow visible */
    font-weight: 900;
    font-size: 1.25rem;
    margin-left: 0.5rem;
}

/* Forms */
.fw-form-group label {
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.fw-form-group input,
.fw-form-group select,
.fw-form-group textarea {
    border: 4px solid var(--fw-black);
    border-radius: 0;
    background: var(--fw-white);
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 4px 4px 0px var(--fw-gray);
    transition: all 0.2s;
    width: 100%;
    /* Force full width */
    display: block;
}

.fw-form-group input:focus,
.fw-form-group select:focus,
.fw-form-group textarea:focus {
    box-shadow: 6px 6px 0px var(--fw-black);
    border-color: var(--fw-red);
    outline: none;
}

/* Service Cards */
.fw-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.fw-service-card {
    border: 4px solid var(--fw-black);
    border-radius: 0;
    box-shadow: 6px 6px 0px var(--fw-black);
    padding: 3rem 2rem;
    background: var(--fw-white);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.fw-service-card strong {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    margin: 1rem 0 0.5rem 0;
    display: block;
}

.fw-service-card p {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.fw-service-card:hover,
.fw-service-card.active {
    box-shadow: 10px 10px 0px var(--fw-black);
    transform: translate(-4px, -4px);
    border-color: var(--fw-black);
    background: var(--fw-black);
}

.fw-service-card:hover *,
.fw-service-card.active * {
    color: var(--fw-white) !important;
}

.fw-service-card:hover .fw-service-icon,
.fw-service-card.active .fw-service-icon {
    background: var(--fw-red);
    color: var(--fw-white);
}

.fw-service-icon {
    width: 120px;
    /* Larger */
    height: 120px;
    /* Larger */
    background: var(--fw-black);
    border-radius: 0;
    color: var(--fw-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.fw-service-icon svg {
    width: 60px;
    height: 60px;
}

/* Map */
.fw-map-container-wrap {
    display: flex;
    flex-direction: column;
    /* Stack vertically */
    gap: 2rem;
    margin-top: 2rem;
    max-width: 100%;
}

/* Search Box */
.fw-store-search-wrap {
    margin-bottom: 2rem;
}

.fw-store-search-wrap label {
    display: block;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

#fw-store-search {
    width: 100%;
    max-width: 500px;
    border: 4px solid var(--fw-black);
    border-radius: 0;
    background: var(--fw-white);
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 4px 4px 0px var(--fw-gray);
    transition: all 0.2s;
}

#fw-store-search:focus {
    box-shadow: 6px 6px 0px var(--fw-black);
    border-color: var(--fw-red);
    outline: none;
}

.fw-stores-map {
    border: 4px solid var(--fw-black);
    border-radius: 0;
    box-shadow: 8px 8px 0px var(--fw-black);
    filter: none;
    width: 100%;
    /* Full width */
    height: 500px;
    /* Fixed height */
    min-height: 400px;
}

.fw-stores-list-wrap {
    border: 4px solid var(--fw-black);
    border-radius: 0;
    box-shadow: 8px 8px 0px var(--fw-black);
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    background: var(--fw-white);
}

.fw-store-item-new {
    border-bottom: 2px solid var(--fw-black);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.fw-store-item-new:hover {
    background: var(--fw-red);
    color: var(--fw-white);
}

.fw-store-item-new:hover * {
    color: var(--fw-white) !important;
    /* Force all text to white on hover */
}

.fw-store-item-new.active {
    background: var(--fw-black);
    color: var(--fw-white);
}

.fw-store-item-new.active * {
    color: var(--fw-white) !important;
}

/* Clock Picker - Tactical Radial */
/* --- DATE & TIME PICKER (LIST VIEW) --- */

/* Date Strip */
.fw-date-strip {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.fw-date-strip::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.fw-date-card {
    min-width: 80px;
    padding: 10px;
    background: var(--fw-white);
    border: 2px solid #eee;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 8px;
}

.fw-date-card:hover {
    border-color: #ddd;
    transform: translateY(-2px);
}

.fw-date-card.active {
    border-color: var(--fw-black);
    background: var(--fw-black);
    color: var(--fw-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.fw-date-card .day-name {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.fw-date-card .date-num {
    font-size: 18px;
    font-weight: 900;
}

/* Time Sections Layout */
.fw-time-sections-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.fw-time-section-header {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--fw-black);
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}

.fw-time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.fw-time-slot-btn {
    background: var(--fw-white);
    border: 1px solid #ddd;
    padding: 10px 5px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
}

.fw-time-slot-btn:hover:not(.disabled) {
    border-color: var(--fw-black);
    background: #f9f9f9;
}

.fw-time-slot-btn.active {
    background: var(--fw-red);
    color: var(--fw-white);
    border-color: var(--fw-red);
    box-shadow: 0 2px 8px rgba(234, 27, 37, 0.3);
}

.fw-time-slot-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
    color: #aaa;
    text-decoration: line-through;
}

.fw-no-slots {
    font-size: 12px;
    color: #999;
    font-style: italic;
    padding: 10px;
}

@media (max-width: 600px) {
    .fw-time-sections-wrapper {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

/* Form Card Container */
.fw-form-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--fw-white);
    border: 4px solid var(--fw-black);
    box-shadow: 8px 8px 0px var(--fw-black);
    text-align: left;
}

/* Responsive */
/* --- MOBILE OVERHAUL V2 (Clean Tactical) --- */
@media (max-width: 768px) {
    .fw-booking-wrapper-new {
        padding: 0;
        margin-top: 0;
        background: var(--fw-white);
    }

    /* V2 Global Header */
    .fw-mobile-v2-nav {
        background: var(--fw-black);
        padding: 0;
        position: sticky;
        top: 0;
        z-index: 1000;
        border-bottom: 2px solid var(--fw-black);
    }

    .fw-v2-progress-bar {
        height: 4px;
        background: #333;
        width: 100%;
    }

    .fw-v2-fill {
        height: 100%;
        background: var(--fw-red);
        width: 12.5%;
        /* Initial step */
        transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .fw-v2-breadcrumb {
        padding: 0.75rem 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: var(--fw-white);
    }

    .fw-v2-step-label {
        font-weight: 900;
        font-size: 0.7rem;
        color: var(--fw-red);
        font-style: italic;
    }

    .fw-v2-step-name {
        font-weight: 700;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Layout & Spacing */
    #fw-booking-main {
        padding-top: 1.5rem;
    }

    .fw-main-title {
        font-size: 1.25rem;
        /* Down from 1.5rem */
        padding: 0 1.5rem;
        margin-bottom: 0.4rem;
        line-height: 1.25;
        letter-spacing: -0.02em;
    }

    .fw-subtitle {
        padding: 0 1.5rem;
        font-size: 0.85rem;
        margin-bottom: 2rem;
        color: #777;
        font-style: normal;
        text-transform: none;
        font-weight: 400;
        opacity: 1;
    }

    .fw-back-action {
        margin: 0 1.5rem 1.5rem;
        padding: 0.6rem 1rem;
        background: #f8f8f8;
        border: 1px solid #ddd;
        font-size: 0.75rem;
        box-shadow: none;
        border-radius: 4px;
        color: var(--fw-black);
    }

    /* Selection List (High Density) */
    .fw-selection-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
        border-top: 1px solid #eee;
    }

    .fw-item-card-new,
    .fw-tab-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 1rem 1.5rem;
        min-height: auto;
        border: none;
        border-bottom: 1px solid #eee;
        box-shadow: none !important;
        background: var(--fw-white);
        border-radius: 0;
    }

    .fw-item-card-new::after,
    .fw-tab-item::after {
        content: "\2192";
        /* Unicode arrow */
        margin-left: auto;
        font-weight: 900;
        color: #ddd;
        font-size: 1.25rem;
    }

    .fw-item-card-new.active,
    .fw-tab-item.active {
        background: #fff5f5;
    }

    .fw-item-card-new img,
    .fw-tab-icon {
        width: 32px;
        height: 32px;
        margin-right: 1.25rem;
        margin-bottom: 0;
        filter: grayscale(0);
        /* Clean icons */
    }

    .fw-item-card-new h3,
    .fw-tab-label {
        font-size: 0.95rem;
        font-weight: 700;
        margin: 0;
        color: var(--fw-black);
        text-transform: none;
        font-style: normal;
        letter-spacing: 0;
    }

    /* Compact Issue Details Card */
    .fw-issue-active-card {
        margin: 1rem 1.5rem 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border: 1px solid #eee;
        border-radius: 8px;
    }

    .fw-issue-info-wrap {
        flex-direction: column;
    }

    .fw-issue-visual {
        padding: 2rem 1.5rem;
        border-bottom: 1px solid #eee;
        background: var(--fw-white) !important;
        align-items: center;
        text-align: center;
    }

    .fw-issue-meta {
        padding: 1.5rem;
    }

    .fw-issue-icon-big svg {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .fw-issue-title-full {
        font-size: 1.25rem;
        /* Down from 1.5rem */
        text-align: center;
        width: 100%;
    }

    .fw-issue-price-tag {
        font-size: 2.15rem;
        /* Down from 2.5rem */
        text-align: center;
        margin: 0.5rem 0 1.25rem;
        text-shadow: none;
        color: var(--fw-red);
    }

    .fw-btn-book-now {
        width: 100%;
        font-size: 0.95rem !important;
        /* Down from 1.1rem */
        border-radius: 6px !important;
        box-shadow: none !important;
        padding: 0.85rem !important;
    }

    /* Service Cards */
    .fw-service-grid {
        padding: 1rem 1.5rem;
        gap: 1.25rem;
    }

    .fw-service-card {
        padding: 1.5rem;
        border: 1px solid #ddd;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    }

    .fw-service-icon {
        width: 60px;
        height: 60px;
    }

    /* Store Selection */
    .fw-stores-map {
        height: 30vh;
        border-bottom: 1px solid #eee;
        box-shadow: none;
    }

    .fw-stores-list-wrap {
        border-top: none;
        box-shadow: none;
    }

    .fw-store-item-new {
        border-bottom: 1px solid #eee;
    }

    .fw-store-name {
        font-size: 1.25rem;
        /* Increased from 1.1rem */
        font-weight: 900;
        font-style: italic;
        text-transform: uppercase;
    }

    /* Buttons */
    .fw-btn-primary {
        box-shadow: none !important;
        border-radius: 6px !important;
        border: none !important;
        padding: 0.85rem !important;
        /* Down from 1rem */
        font-size: 0.9rem !important;
    }
}

/* Extra Small */
@media (max-width: 480px) {
    .fw-v2-breadcrumb {
        padding: 0.6rem 1rem;
    }

    .fw-main-title {
        font-size: 1.35rem;
    }
}