/*
 * Facelift, option A "Clean and modern" (Kris, 2026-11-18).
 *
 * One font everywhere (Inter since the evening of 2026-11-18; Plus Jakarta Sans looked thin to Kris), calmer buttons in sentence case, one main button colour,
 * clearer form boxes. Loaded last in layouts/app.blade.php. Every rule starts with .fl (a class on
 * <body>) so it wins over the older stylesheets and the quote tool's own styles without touching
 * them. To undo the whole facelift: remove the class "fl" from <body>.
 */

:root {
    --fl-blue: #0061fb;
    --fl-blue-hover: #0050d4;
    --fl-ink: #0f172a;
    --fl-muted: #475569;
    --fl-line: #cbd5e1;
    --fl-ring: #d6e4ff;
    --fl-font: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* One font. Icon fonts (Font Awesome) keep their own. */
.fl,
.fl *:not(.fa) {
    font-family: var(--fl-font) !important;
}

.fl {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings: bolder, slightly tighter. */
.fl h1,
.fl h2,
.fl h3,
.fl .title {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.fl .header__main_title {
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* Repair names in the lists: as written ("Glass and LCD Replacement"), not shouted in capitals. */
.fl .fix__device_main_subtitle,
.fl .step4__list_item,
.fl .step_4_service_title {
    text-transform: none;
}

/* Buttons: rounded rectangle, sentence case, bold, no wide letter spacing. */
.fl .button,
.fl .button-blue,
.fl .button-red,
.fl a.button,
.fl .header__main_button-blue {
    border-radius: 12px;
    /* !important: some quote tool buttons set capitals in their own, more specific styles. */
    letter-spacing: 0 !important;
    text-transform: none !important;
    font-weight: 700;
    font-size: 15px;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}

.fl .button:active {
    transform: scale(.98);
}

.fl .button:focus-visible {
    outline: 3px solid var(--fl-ring);
    outline-offset: 2px;
}

/* The main button: one blue. The old red "Click here" button becomes the same main button. */
.fl .button-blue,
.fl .button-red,
.fl .header__main_button-blue {
    background: var(--fl-blue);
    color: #fff !important;
}

.fl .button-blue:hover,
.fl .button-red:hover,
.fl .header__main_button-blue:hover {
    background: var(--fl-blue-hover);
}

/* Second choice next to a main button: outlined, not filled. */
.fl .button-blue.change_location_btn {
    background: transparent;
    color: var(--fl-ink) !important;
    box-shadow: inset 0 0 0 1.5px var(--fl-line);
}

.fl .button-blue.change_location_btn:hover {
    box-shadow: inset 0 0 0 1.5px var(--fl-ink);
    background: transparent;
}

/* Inside the dark quote panel the outlined button needs light lines and text. */
.fl .fix__device_main_form .button-blue.change_location_btn,
.fl .q__form .button-blue.change_location_btn {
    color: #fff !important;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
}

.fl .fix__device_main_form .button-blue.change_location_btn:hover,
.fl .q__form .button-blue.change_location_btn:hover {
    box-shadow: inset 0 0 0 1.5px #fff;
}

/* Form boxes: clear border, rounded, a soft blue ring while typing. */
.fl .form__input,
.fl .location_select,
.fl .zipcode__input,
.fl .footer__input,
.fl input[type="text"],
.fl input[type="email"],
.fl input[type="tel"],
.fl textarea,
.fl select {
    border-radius: 10px;
}

.fl .form__input,
.fl .footer__input,
.fl textarea.form__input {
    border: 1.5px solid var(--fl-line);
}

.fl .form__input:focus,
.fl .location_select:focus,
.fl .zipcode__input:focus,
.fl .footer__input:focus,
.fl select:focus,
.fl textarea:focus {
    outline: none;
    border-color: var(--fl-blue);
    box-shadow: 0 0 0 3px var(--fl-ring);
}

/* The footer sign-up box sits flush against its send button. */
.fl .footer__input {
    border-radius: 10px 0 0 10px;
}

.fl .form__label {
    font-weight: 600;
}

/* Quote tool, price step: the device picture sat on a dark grey square on the white page.
   Kris, 2026-11-18: remove it. The picture now sits on the page itself, with the name in dark text. */
.fl .step_4_model {
    background: transparent !important;
}

.fl .step_4_model .step4__name_device {
    color: var(--fl-ink) !important;
}

/* Quote tool, price step: the repair list as rows with the price on each row (Kris, 2026-11-18,
   "Style 1"). Before: 10px grey text in two narrow columns and a hard blue box on hover. */
.fl .step_4,
.fl .step4__div,
.fl .step4__list {
    height: auto !important;
}

.fl .services-grids ul {
    -webkit-column-count: 1 !important;
    -moz-column-count: 1 !important;
    column-count: 1 !important;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
}

.fl .breakage_block > ul > li {
    margin: 0 0 6px;
}

.fl .step4__list_item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.3;
    color: var(--fl-ink) !important;
    background: #fff !important;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.fl .step4__list_item:hover {
    background: #f3f7ff !important;
    border-color: #b9cdfd;
    color: var(--fl-ink) !important;
}

.fl .breakage_block input[type="checkbox"]:checked + .step4__list_item {
    background: #eef4ff !important;
    border-color: var(--fl-blue);
    color: var(--fl-ink) !important;
    font-weight: 600;
}

/* A round "picked" dot instead of the arrow pictures. */
.fl .step4__list_item_arrow {
    display: none !important;
}

.fl .step4__list_item .flex_row {
    align-items: center;
    text-align: left;
}

.fl .step4__list_item .flex_row::before {
    content: "";
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 2px solid var(--fl-line);
    background: #fff;
}

.fl .breakage_block input[type="checkbox"]:checked + .step4__list_item .flex_row::before {
    border: 5px solid var(--fl-blue);
}

.fl .step4__list_item .fl-price {
    display: block !important;
    margin: 0 !important;
    white-space: nowrap;
    font-weight: 700;
}

.fl .step4__list_item .fl-price-call {
    font-size: 12px;
    font-weight: 600;
    color: var(--fl-muted);
}

/* Tablet widths: three 230px columns were too narrow for rows with prices. The device picture
   column steps aside (phones already hide it) and the two other columns share the width. */
@media (min-width: 768px) and (max-width: 1025px) {
    .fl .step_4 .step4__div:first-child {
        display: none !important;
    }

    .fl .step_4 .step4__div {
        width: 50% !important;
        box-sizing: border-box;
    }
}

/* Phones: keep the repair rows off the screen edges. */
@media (max-width: 767px) {
    .fl .step_4 .breakage_block {
        padding: 0 14px;
        box-sizing: border-box;
    }
}
