﻿/* ==========================================================================
   Results heading
   ========================================================================== */
.bg-rec-header {
    background-color: #F7F7F7 !important;
}

.rec-badge:hover {
    background: #c66d25;
    border-color: #b8bec6;
}

.rec-badge button {
    color: #fff;
}

    .rec-badge button:hover {
        color: #b00020;
    }

.rec-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem .45rem .4rem .75rem;
    border: 1px solid #d8dadd;
    border-radius: 8px;
    background: #dd6900;
    color: #fff;
    font-size: .85rem;
    font-weight: 500;
    line-height: 1;
}

.rec-badge-label {
    line-height: 1.2;
}

.rec-badge-remove {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3rem;
    height: 1.3rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .15s ease, color .15s ease;
}

    .rec-badge-remove i {
        font-size: .65rem;
        line-height: 1;
        pointer-events: none;
    }

    .rec-badge-remove:hover {
        background: #d9dde1;
        color: #222;
    }

    .rec-badge-remove:focus-visible {
        outline: 2px solid #3976b9;
        outline-offset: 2px;
    }

/* Container for chips */
.rec-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

/* Base chip */
.rec-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .75rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    line-height: 1;
    user-select: none;
    white-space: nowrap;
}

/* Available = clickable chip */
.rec-chip--available {
    border: 1px solid rgba(0,0,0,.15);
    background: #f8f9fa;
    color: #212529;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

    .rec-chip--available:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(0,0,0,.12);
        background: #ffffff;
    }

    .rec-chip--available:active {
        transform: translateY(0px) scale(.98);
    }

.rec-chip-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0,0,0,.08);
    font-size: .85rem;
}

/* Selected = premium tag */
.rec-chip--selected {
/*    background: linear-gradient(135deg, #3a7bd5, #00d2ff);*/
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.18);
}

.rec-chip-label {
    padding-right: .1rem;
}

/* Remove button */
.rec-chip-remove {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.18);
    color: rgba(255,255,255,.95);
    cursor: pointer;
    transition: transform .12s ease, background .12s ease;
    padding: 0;
}

    .rec-chip-remove:hover {
        background: rgba(255,255,255,.32);
        transform: scale(1.08);
    }

    /* Keyboard focus */
    .rec-chip--available:focus-visible,
    .rec-chip-remove:focus-visible {
        outline: 2px solid rgba(13,110,253,.5);
        outline-offset: 2px;
    }


.recommendation-results {
    margin-top: 2rem;
}

.results-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.75rem;
}

    .results-header h2 {
        margin: 0;
        color: #2f3135;
        font-size: 1.75rem;
        font-weight: 600;
    }

.results-kicker {
    margin: 0 0 .25rem;
    color: #767a80;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.results-summary {
    margin: .4rem 0 0;
    color: #74787d;
    font-size: .85rem;
}

.results-actions {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.results-action {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .75rem;
    border: 1px solid #c9ccd0;
    border-radius: 4px;
    background: #fff;
    color: #50545a;
    font: inherit;
    font-size: .82rem;
    cursor: pointer;
}

    .results-action:hover {
        border-color: #969ba1;
        background: #f5f5f5;
        color: #25272a;
    }

.results-action--primary {
    border-color: #356f9f;
    color: #285d88;
}

    .results-action--primary:hover {
        border-color: #285d88;
        background: #eef4f8;
        color: #204f76;
    }


/* ==========================================================================
   Result list
   ========================================================================== */

.rec-results {
    display: flex;
    flex-direction: column;
}

.rec-result {
    position: relative;
    display: grid;
    grid-template-columns: 32px 150px minmax(0, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid #d9d9d9;
}

    .rec-result:first-child {
        border-top: 1px solid #d9d9d9;
    }

.rec-result-rank {
    padding-top: .15rem;
    color: #9a9da1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    line-height: 1;
}

.rec-result-cover img,
.rec-cover-placeholder {
    display: block;
    width: 100%;
    height: auto;
/*    aspect-ratio: 2 / 3;
*/    border: 1px solid #cacaca;
    background: #eeeeee;
/*    object-fit: cover;
*/}

.rec-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a9da1;
    font-size: 2rem;
}

.rec-result-main {
    min-width: 0;
}


/* ==========================================================================
   Film heading
   ========================================================================== */

.rec-result-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.rec-title-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .5rem;
}

    .rec-title-line h3 {
        margin: 0;
        color: #292b2f;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.55rem;
        font-weight: 600;
        line-height: 1.2;
    }

.rec-year {
    color: #71757a;
    font-size: .95rem;
    font-weight: 400;
}

.rec-byline {
    margin: .3rem 0 0;
    color: #666a6f;
    font-size: .9rem;
}

.rec-confidence {
    flex: 0 0 auto;
    padding: .25rem .5rem;
    border: 1px solid #aeb2b7;
    border-radius: 3px;
    background: #fff;
    color: #61656a;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
}


    .rec-confidence.conf-high,
    .rec-confidence.conf-excellent {
        border-color: #739078;
        color: #496c50;
    }

    .rec-confidence.conf-medium,
    .rec-confidence.conf-good {
        border-color: #7892a7;
        color: #4b6b83;
    }

    .rec-confidence.conf-low,
    .rec-confidence.conf-outside {
        border-color: #ad8c5c;
        color: #806536;
    }


/* ==========================================================================
   Recommendation explanation
   ========================================================================== */

.rec-explanation {
    max-width: 850px;
    margin: 1.15rem 0 0;
    color: #414449;
    font-size: .98rem;
    line-height: 1.65;
}

.rec-explanation--secondary {
    color: #62666b;
}


/* ==========================================================================
   Match reasons
   ========================================================================== */

.rec-match-section {
    margin-top: 1.25rem;
}

    .rec-match-section h4,
    .rec-collection h4 {
        margin: 0 0 .65rem;
        color: #55595e;
        font-size: .74rem;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

.rec-match-list {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .rec-match-list li {
        position: relative;
        padding-left: .75rem;
        color: #484c51;
        font-size: .86rem;
    }

        .rec-match-list li::before {
            position: absolute;
            top: .57em;
            left: 0;
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background: #85898e;
            content: "";
        }


/* ==========================================================================
   Genres and movements
   ========================================================================== */

.rec-taxonomy {
    display: grid;
    gap: .55rem;
    margin-top: 1.1rem;
    color: #62666b;
    font-size: .83rem;
}

    .rec-taxonomy > div {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: .25rem .45rem;
    }

.rec-detail-label {
    margin-right: .2rem;
    color: #777b80;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.rec-taxonomy-item:not(:last-child)::after {
    margin-left: .45rem;
    color: #a1a4a8;
    content: "·";
}


/* ==========================================================================
   Collection information
   ========================================================================== */

.rec-collection {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid #e2e2e2;
}

.rec-collection-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(90px, auto));
    justify-content: start;
    gap: .65rem 1.75rem;
    margin: 0;
}

    .rec-collection-list div {
        display: grid;
        gap: .15rem;
    }

    .rec-collection-list dt {
        color: #85898e;
        font-size: .68rem;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .rec-collection-list dd {
        margin: 0;
        color: #3d4045;
        font-size: .88rem;
    }

    .rec-collection-list .rec-unavailable {
        color: #8e4a4a;
    }

.rec-features {
    margin-top: .9rem;
}

    .rec-features ul {
        display: flex;
        flex-wrap: wrap;
        gap: .3rem .75rem;
        margin: .35rem 0 0;
        padding: 0;
        list-style: none;
    }

    .rec-features li {
        color: #575b60;
        font-size: .82rem;
    }

        .rec-features li:not(:last-child)::after {
            margin-left: .75rem;
            color: #a0a3a7;
            content: "·";
        }


/* ==========================================================================
   Feedback
   ========================================================================== */

.rec-feedback {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.4rem;
    padding-top: 1.15rem;
    border-top: 1px solid #e2e2e2;
}

.rec-feedback-label {
    display: block;
    margin-bottom: .25rem;
    color: #6d7176;
    font-size: .75rem;
}

.rec-stars {
    display: flex;
    align-items: center;
    gap: .1rem;
}

.rec-star {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: #c4c6c9;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

    .rec-star:hover,
    .rec-star--filled {
        color: #ad842c;
    }

    .rec-star:focus-visible {
        outline: 2px solid #356f9f;
        outline-offset: 2px;
    }

.rec-feedback-saving {
    margin-left: .4rem;
}

.rec-seen-label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #65696e;
    font-size: .8rem;
    cursor: pointer;
}

    .rec-seen-label input {
        margin: 0;
    }


/* ==========================================================================
   Technical details
   ========================================================================== */

.rec-technical {
    margin-top: 1rem;
    font-size: .82rem;
}

    .rec-technical summary {
        width: fit-content;
        color: #6d7176;
        font-size: .78rem;
        text-decoration: underline;
        text-underline-offset: 3px;
        cursor: pointer;
    }

        .rec-technical summary:hover {
            color: #33363a;
        }

.rec-technical-body {
    margin-top: .8rem;
    padding: 1rem;
    border-left: 3px solid #c8cbce;
    background: #f5f5f4;
}

.rec-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(100px, 1fr));
    gap: .75rem;
    margin: 0;
}

    .rec-metrics div {
        display: grid;
        gap: .15rem;
    }

    .rec-metrics dt {
        color: #7a7e83;
        font-size: .67rem;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .rec-metrics dd {
        margin: 0;
        color: #35383c;
        font-size: .9rem;
    }

.rec-technical-note {
    margin-top: .9rem;
}

    .rec-technical-note strong {
        color: #575b60;
        font-size: .73rem;
    }

    .rec-technical-note p {
        margin: .25rem 0 0;
        color: #64686d;
        line-height: 1.5;
    }


/* ==========================================================================
   Raw JSON
   ========================================================================== */

.result-json {
    margin-bottom: 1.5rem;
    border: 1px solid #d3d5d7;
    background: #fff;
}

.result-json-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem;
    border-bottom: 1px solid #dedede;
}

    .result-json-header h3 {
        margin: 0;
        font-size: .85rem;
        font-weight: 600;
    }

.result-json-close {
    appearance: none;
    padding: .2rem;
    border: 0;
    background: transparent;
    color: #777b80;
    cursor: pointer;
}

.result-json pre {
    max-height: 400px;
    margin: 0;
    padding: 1rem;
    overflow: auto;
    background: #f4f4f3;
    font-size: .75rem;
}

.results-empty {
    padding: 2rem 0;
    color: #73777c;
}


/* ==========================================================================
   Responsive layout
   ========================================================================== */

@media (max-width: 800px) {
    .results-header {
        flex-direction: column;
        gap: 1rem;
    }

    .results-actions {
        flex-wrap: wrap;
    }

    .rec-result {
        grid-template-columns: 24px 105px minmax(0, 1fr);
        gap: 1rem;
    }

    .rec-result-header {
        flex-direction: column;
    }

    .rec-confidence {
        align-self: flex-start;
    }

    .rec-collection-list {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }

    .rec-metrics {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }
}

@media (max-width: 560px) {
    .rec-result {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .rec-result-cover {
        grid-column: 2;
        width: 115px;
    }

    .rec-result-main {
        grid-column: 1 / -1;
    }

    .rec-result-rank {
        grid-row: 1;
    }

    .rec-feedback {
        align-items: flex-start;
        flex-direction: column;
    }

    .rec-collection-list,
    .rec-metrics {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   Recommendation form sections
   ========================================================================== */

.rec-form-section {
    margin-bottom: 2.75rem;
    padding: 0 0 2.5rem;
    border-bottom: 1px solid #c66d25;
}

.rec-form-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

    .rec-form-section-header h2 {
        margin: 0;
        color: #49484f;
        font-size: 1.5rem;
        font-weight: 500;
    }

.rec-form-kicker {
    margin: 0 0 .2rem;
    color: #dd6900;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .07em;
    line-height: 1.3;
    text-transform: uppercase;
}

.rec-form-intro {
    max-width: 650px;
    margin: .45rem 0 0;
    color: #77757f;
    font-size: .9rem;
    line-height: 1.6;
}

.rec-required,
.rec-optional {
    flex: 0 0 auto;
    padding: .2rem .45rem;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.3;
    text-transform: uppercase;
}

.rec-required {
    border: 1px solid #DE3907;
    color: #8b493a;
}

.rec-optional {
    border: 1px solid #c8c6cd;
    color: #77747c;
}


/* Automatic-selection note
   ========================================================================== */

.rec-auto-note {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin-bottom: 1.4rem;
    padding: .8rem 0;
    border-top: 1px solid #dfe8ec;
    border-bottom: 1px solid #dfe8ec;
    color: #005189;
    background-color: #DDF5FC;
    padding-left: 1rem;
    padding-right: 1rem;
}

    .rec-auto-note i {
        margin-top: .3rem;
        color: #607d86;
        font-size: .9rem;
    }

    .rec-auto-note p {
        margin: 0;
        color: inherit;
        font-size: .86rem;
        line-height: 1.55;
    }

/*    .rec-auto-note i.fa-lightbulb {
        background-color: #fff;
        color: #ffa126;
        padding-left: 1px;
        padding-top: 1px;
    }*/

/*        .rec-auto-note i.fa-lightbulb {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        color: #ffa126;
        background: radial-gradient( circle, #fff8d5 0%, #ffd36a 35%, #ffa126 60%, #C9ECF9 100% );
        box-shadow: 0 0 8px rgba(255, 161, 38, 0.7), 0 0 16px rgba(255, 161, 38, 0.45);
        margin-right: 0.5rem;
        margin-top: -0.1rem;
        padding-left: 1px;
        padding-top: 1px;
    }*/

/*    .rec-auto-note i.fa-lightbulb {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        color: #ffa126;
        background: rgba(255, 248, 213, 0.9);
        box-shadow: 0 0 6px #ffd36a, 0 0 12px rgba(255, 161, 38, 0.7), 0 0 20px rgba(255, 161, 38, 0.35);
        margin-top: -0.1rem;
        padding-left: 1px;
        padding-top: 1px;
    }*/

    .rec-auto-note i.fa-lightbulb {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        color: #ffa126;
        background: radial-gradient(circle, #fff 0%, #ffe38a 45%, rgba(255,161,38,.45) 70%, transparent 100%);
        box-shadow: 0 0 4px rgba(255,255,255,.8), 0 0 10px rgba(255,211,106,.9), 0 0 18px rgba(255,161,38,.6);
        text-shadow: 0 0 4px rgba(255,255,255,.9), 0 0 8px rgba(255,161,38,.8);
        margin-top: -0.1rem;
        padding-left: 1px;
        padding-top: 1px;
    }
    

   /* Form field
   ========================================================================== */
    .rec-field {
        position: relative;
        max-width: 760px;
    }

    .rec-field > label,
    .rec-weight-heading label {
        display: block;
        margin-bottom: .45rem;
        color: #49484f;
        font-family: "Rubik", sans-serif;
        font-size: .9rem;
        font-weight: 500;
    }

.rec-search {
    position: relative;
}

    .rec-search input {
        margin-bottom: 0;
        padding-right: 2.75rem;
        background: #fff;
    }

.rec-search-icon {
    position: absolute;
    top: 50%;
    right: .95rem;
    color: #96939c;
    font-size: .9rem;
    pointer-events: none;
    transform: translateY(-50%);
}

.rec-field-help {
    max-width: 680px;
    margin: .65rem 0 0;
    color: #908e99;
    font-size: .8rem;
    line-height: 1.55;
}


/* Search suggestions
   ========================================================================== */

.rec-suggestions {
    position: absolute;
    top: calc(45px + 1.8rem);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 280px;
    margin: 0;
    overflow-y: auto;
    border: 1px solid #d7d6dc;
    background: #fff;
    box-shadow: 0 8px 18px rgba(35, 35, 41, .08);
}

    .rec-suggestions li {
        border-bottom: 1px solid #ecebf0;
    }

        .rec-suggestions li:last-child {
            border-bottom: 0;
        }

    .rec-suggestions button {
        appearance: none;
        display: block;
        width: 100%;
        padding: .7rem .85rem;
        border: 0;
        background: #fff;
        color: #49484f;
        font: inherit;
        font-size: .88rem;
        text-align: left;
        cursor: pointer;
    }

        .rec-suggestions button:hover,
        .rec-suggestions button:focus {
            background: #f3f2f5;
            color: #dd6900;
            outline: none;
        }


/* Empty search state
   ========================================================================== */

.rec-no-results {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    margin-top: .75rem;
    padding-top: .7rem;
    border-top: 1px solid #ecebf0;
}

    .rec-no-results p {
        margin: 0;
        color: #77757f;
        font-size: .84rem;
    }

.rec-text-action {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: #dd6900;
    font: inherit;
    font-size: .82rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

    .rec-text-action:hover {
        color: #49484f;
    }


/* Selected directors
   ========================================================================== */

.rec-selected {
    max-width: 760px;
    margin-top: 1.5rem;
    padding-top: 1.15rem;
    border-top: 1px solid #ecebf0;
}

.rec-selected-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .7rem;
}

    .rec-selected-header h3 {
        margin: 0;
        color: #56545c;
        font-size: .78rem;
        font-weight: 600;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .rec-selected-header > span {
        color: #98959e;
        font-size: .75rem;
    }

.rec-selected-list {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}


/* Importance control
   ========================================================================== */

.rec-weight-control {
    max-width: 760px;
    margin-top: 1.75rem;
    padding-top: 1.4rem;
    border-top: 1px solid #e2e1e8;
}

.rec-weight-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: .75rem;
}

    .rec-weight-heading label {
        margin-bottom: .15rem;
    }

    .rec-weight-heading p {
        margin: 0;
        color: #908e99;
        font-size: .8rem;
        line-height: 1.5;
    }

    .rec-weight-heading strong {
        flex: 0 0 auto;
        color: #49484f;
        font-family: "Rubik", sans-serif;
        font-size: .82rem;
        font-weight: 500;
    }

.rec-weight-control input[type="range"] {
    margin-bottom: 0;
}

.rec-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: .2rem;
    color: #9a979f;
    font-size: .7rem;
}


/* Responsive
   ========================================================================== */

@media (max-width: 600px) {
    .rec-form-section-header,
    .rec-weight-heading {
        flex-direction: column;
        gap: .7rem;
    }

    .rec-required {
        align-self: flex-start;
    }

    .rec-weight-heading strong {
        align-self: flex-start;
    }
}

/* ==========================================================================
   Starting-point section
   ========================================================================== */

.rec-start-section {
    padding-top: .5rem;
}

.rec-mode-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 900px;
}

.rec-mode-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    min-height: 100%;
    margin: 0;
    padding: 1.15rem;
    border: 1px solid #dddce2;
    background: #fff;
    color: #49484f;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

    .rec-mode-option:hover {
        border-color: #bdbbc3;
        background: #fafafa;
    }

    .rec-mode-option.is-selected {
        border-color: #c36b24;
        background: #fffaf6;
    }

    .rec-mode-option input[type="radio"] {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: 0;
        opacity: 0;
        pointer-events: none;
    }

.rec-mode-radio {
    position: relative;
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin-top: .12rem;
    border: 1px solid #aaa8b0;
    border-radius: 50%;
    background: #fff;
}

.rec-mode-option.is-selected .rec-mode-radio {
    border-color: #dd6900;
}

    .rec-mode-option.is-selected .rec-mode-radio::after {
        position: absolute;
        top: 4px;
        left: 4px;
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #dd6900;
        content: "";
    }

.rec-mode-option:focus-within {
    outline: 2px solid #dd6900;
    outline-offset: 3px;
}

.rec-mode-copy {
    display: grid;
    gap: .4rem;
}

    .rec-mode-copy strong {
        color: #49484f;
        font-family: "Rubik", sans-serif;
        font-size: .95rem;
        font-weight: 500;
        line-height: 1.35;
    }

    .rec-mode-copy > span {
        color: #85828b;
        font-size: .82rem;
        line-height: 1.55;
    }


/* Reference film subsection
   ========================================================================== */

.rec-reference-films {
    max-width: 900px;
    margin-top: 1.75rem;
    padding-top: 1.6rem;
    border-top: 1px solid #e2e1e8;
}

.rec-subsection-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

    .rec-subsection-header h3 {
        margin: 0;
        color: #49484f;
        font-size: 1.2rem;
        font-weight: 500;
    }

.rec-subsection-intro {
    max-width: 700px;
    margin: .5rem 0 1.25rem;
    color: #85828b;
    font-size: .86rem;
    line-height: 1.6;
}

.rec-selection-count {
    flex: 0 0 auto;
    color: #89868f;
    font-size: .76rem;
}


/* Educational note
   ========================================================================== */

.rec-reference-note {
    max-width: 760px;
    margin-top: 1.35rem;
    padding: 1rem 0;
    border-top: 1px solid #e2e1e8;
    border-bottom: 1px solid #e2e1e8;
}

    .rec-reference-note h4 {
        margin: 0 0 .4rem;
        color: #5c5961;
        font-size: .76rem;
        font-weight: 600;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .rec-reference-note p {
        margin: 0;
        color: #716e77;
        font-size: .84rem;
        line-height: 1.65;
    }


/* Transition to the next section
   ========================================================================== */

.rec-next-step {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    max-width: 900px;
    margin-top: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid #ecebf0;
    color: #85828b;
    font-size: .8rem;
}

.rec-next-step-number {
    flex: 0 0 auto;
    color: #dd6900;
    font-family: "Rubik", sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}


/* Responsive
   ========================================================================== */

@media (max-width: 700px) {
    .rec-mode-options {
        grid-template-columns: 1fr;
    }

    .rec-subsection-header {
        flex-direction: column;
        gap: .4rem;
    }
}

/* ==========================================================================
   Comfort zone
   ========================================================================== */

.rec-comfort-intro {
    max-width: 760px;
    margin-bottom: 1.4rem;
}

    .rec-comfort-intro h3 {
        margin: 0 0 .35rem;
        color: #56545c;
        font-size: .9rem;
        font-weight: 500;
    }

    .rec-comfort-intro p {
        margin: 0;
        color: #85828b;
        font-size: .82rem;
        line-height: 1.6;
    }


/* Criteria layout
   ========================================================================== */

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1000px;
}

.criteria-tile {
    padding: 1.15rem;
    border: 1px solid #dddce2;
    background: #fff;
    transition: border-color .15s ease, opacity .15s ease, background-color .15s ease;
}

    .criteria-tile:hover {
        border-color: #c4c2c9;
    }

    .criteria-tile.is-ignored {
        border-color: #e5e4e8;
        background: #f8f8f8;
        opacity: .7;
    }


/* Criterion heading
   ========================================================================== */

.criteria-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.criteria-title {
    margin: 0;
    color: #49484f;
    font-family: "Rubik", sans-serif;
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.35;
}

.criteria-status {
    display: block;
    margin-top: .2rem;
    color: #98959e;
    font-size: .68rem;
}


/* Active/ignored toggle
   ========================================================================== */

.criteria-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: .4rem;
    margin: 0;
    color: #77747c;
    font-size: .7rem;
    cursor: pointer;
}

    .criteria-toggle input {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: 0;
        opacity: 0;
        pointer-events: none;
    }

.toggle-ui {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 16px;
    border: 1px solid #aaa8b0;
    border-radius: 10px;
    background: #d9d8dd;
    transition: border-color .15s ease, background-color .15s ease;
}

    .toggle-ui::after {
        position: absolute;
        top: 2px;
        left: 2px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
        content: "";
        transition: transform .15s ease;
    }

.criteria-toggle input:not(:checked) + .toggle-ui {
    border-color: #c66d25;
    background: #dd6900;
}

    .criteria-toggle input:not(:checked) + .toggle-ui::after {
        transform: translateX(12px);
    }

.criteria-toggle:focus-within .toggle-ui {
    outline: 2px solid #dd6900;
    outline-offset: 2px;
}

.criteria-tile.is-ignored .toggle-text {
    color: #96939b;
}


/* Criterion slider
   ========================================================================== */

.criteria-slider {
    margin-top: .25rem;
}

    .criteria-slider .slider {
        display: block;
        width: 100%;
        margin: 0;
    }

        .criteria-slider .slider:disabled {
            cursor: not-allowed;
            opacity: .45;
        }

.criteria-minmax {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .35rem;
    color: #94919a;
    font-size: .68rem;
    line-height: 1.35;
}

    .criteria-minmax span:last-child {
        text-align: right;
    }


/* Current criterion description
   ========================================================================== */

.criteria-desc {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    min-height: 2.6rem;
    margin-top: .85rem;
    padding-top: .75rem;
    border-top: 1px solid #ecebf0;
    color: #65626b;
    font-size: .8rem;
    line-height: 1.5;
}

    .criteria-desc .emoji {
        flex: 0 0 auto;
        font-size: .95rem;
    }

.criteria-tile.is-ignored .criteria-desc {
    color: #96939b;
}


/* Responsive
   ========================================================================== */

@media (max-width: 780px) {
    .criteria-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .criteria-head {
        flex-direction: column;
        gap: .6rem;
    }

    .criteria-toggle {
        align-self: flex-start;
    }
}

/* ==========================================================================
   Submit
   ========================================================================== */

.rec-submit-section {
    margin-top: 3rem;
    padding: 2.5rem 0;
    border-top: 2px solid #e2e1e8;
    text-align: center;
}

    .rec-submit-section h2 {
        margin: 0 0 .5rem;
        color: #49484f;
        font-size: 1.6rem;
        font-weight: 500;
    }

    .rec-submit-section p {
        max-width: 620px;
        margin: 0 auto;
        color: #77747c;
        line-height: 1.7;
    }

.rec-submit-button {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-top: 1.75rem;
    padding: .9rem 2rem;
    border: 1px solid #c55f11;
    background: #dd6900;
    color: #fff;
    font-family: "Rubik", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

    .rec-submit-button:hover:not(:disabled) {
        background: #c95f00;
    }

    .rec-submit-button:disabled {
        border-color: #c9c7ce;
        background: #d8d7dc;
        color: #77747c;
        cursor: not-allowed;
    }

.rec-submit-note {
    margin-top: .9rem !important;
    color: #9a969e;
    font-size: .82rem;
}

/* ==========================================================================
   Recommender introduction
   ========================================================================== */

.rec-page-intro {
    max-width: 1050px;
    margin-bottom: 2.75rem;
}

.rec-page-kicker {
    margin: 0 0 .25rem;
    color: #908e99;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.rec-page-intro > h1 {
    margin: 0;
    color: #3f3e44;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    line-height: 1.15;
}

.rec-page-lead {
    max-width: 780px;
    margin: .8rem 0 0;
    color: #68666f;
    font-size: 1.05rem;
    line-height: 1.7;
}


/* Development warning
   ========================================================================== */

.rec-development-warning {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    max-width: 900px;
    margin: 1.75rem 0 0;
    padding: 1rem 1.1rem;
    border-radius: 0;
    font-size: .86rem;
}

.rec-development-warning-icon {
    flex: 0 0 auto;
    margin-top: .12rem;
    font-size: .95rem;
}

.rec-development-warning strong {
    display: block;
    margin-bottom: .25rem;
    font-family: "Rubik", sans-serif;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.rec-development-warning p {
    margin: 0;
    color: inherit;
    font-size: .84rem;
    line-height: 1.55;
}


/* About the recommender
   ========================================================================== */

.rec-about-section {
    max-width: 900px;
    margin-top: 1.75rem;
    border-top: 1px solid #e2e1e8;
    border-bottom: 1px solid #e2e1e8;
}

.rec-about-toggle {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: .9rem 0;
    border: 0;
    background: transparent;
    color: #626068;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

    .rec-about-toggle > span {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        font-family: "Rubik", sans-serif;
        font-size: .84rem;
        font-weight: 500;
    }

        .rec-about-toggle > span i {
            color: #88858e;
        }

    .rec-about-toggle:hover {
        color: #dd6900;
    }

    .rec-about-toggle:focus-visible {
        outline: 2px solid #dd6900;
        outline-offset: 4px;
    }

.rec-about-chevron {
    color: #918e97;
    font-size: .7rem;
    transition: transform .18s ease;
}

.rec-about-toggle[aria-expanded="true"] .rec-about-chevron {
    transform: rotate(180deg);
}


/* Expanded content
   ========================================================================== */

.rec-about-content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 2.5rem;
    padding: .5rem 0 1.75rem;
}

    .rec-about-content h2 {
        margin: 0 0 .7rem;
        color: #55535b;
        font-size: .85rem;
        font-weight: 600;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

.rec-about-explanation p {
    margin: 0 0 .85rem;
    color: #716f77;
    font-size: .85rem;
    line-height: 1.65;
}

    .rec-about-explanation p:last-child {
        margin-bottom: 0;
    }


/* Important notes
   ========================================================================== */

.rec-about-notes {
    padding-left: 1.75rem;
    border-left: 1px solid #e2e1e8;
}

    .rec-about-notes ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .rec-about-notes li {
        position: relative;
        margin-bottom: .75rem;
        padding-left: 1rem;
        color: #716f77;
        font-size: .81rem;
        line-height: 1.55;
    }

        .rec-about-notes li:last-child {
            margin-bottom: 0;
        }

        .rec-about-notes li::before {
            position: absolute;
            top: .63em;
            left: 0;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: #99969e;
            content: "";
        }


/* Responsive
   ========================================================================== */

@media (max-width: 760px) {
    .rec-about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .rec-about-notes {
        padding-top: 1.4rem;
        padding-left: 0;
        border-top: 1px solid #e2e1e8;
        border-left: 0;
    }
}

@media (max-width: 520px) {
    .rec-development-warning {
        gap: .65rem;
        padding: .9rem;
    }

    .rec-page-lead {
        font-size: .98rem;
    }
}

/* ==========================================================================
   Director suggestion modal
   ========================================================================== */

.rec-modal .modal-dialog {
    max-width: 860px;
}

.rec-modal-shell {
    overflow: hidden;
    border: 1px solid #d8d7dc;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 16px 45px rgba(26, 25, 30, .18);
}


/* Header
   ========================================================================== */

.rec-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid #e2e1e8;
}

.rec-modal-title {
    margin: 0;
    color: #49484f;
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.2;
}

.rec-modal-intro {
    max-width: 610px;
    margin: .45rem 0 0;
    color: #77747c;
    font-size: .86rem;
    line-height: 1.6;
}

.rec-modal-close {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid transparent;
    background: transparent;
    color: #85828b;
    font-size: 1rem;
    cursor: pointer;
}

    .rec-modal-close:hover {
        border-color: #d8d7dc;
        background: #f4f3f5;
        color: #49484f;
    }

    .rec-modal-close:focus-visible {
        outline: 2px solid #dd6900;
        outline-offset: 2px;
    }


/* Body and sections
   ========================================================================== */

.rec-modal-body {
    padding: 1.6rem 1.75rem 1.8rem;
}

.rec-modal-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.3rem;
}

    .rec-modal-section-header h3 {
        margin: 0;
        color: #49484f;
        font-size: 1.15rem;
        font-weight: 500;
    }

    .rec-modal-section-header p:not(.rec-form-kicker) {
        max-width: 590px;
        margin: .35rem 0 0;
        color: #85828b;
        font-size: .82rem;
        line-height: 1.55;
    }

.rec-modal-search-field {
    max-width: 100%;
}


/* Loading
   ========================================================================== */

.rec-modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 90px;
    margin-top: 1rem;
    color: #77747c;
    font-size: .84rem;
}

    .rec-modal-loading .spinner-border {
        color: #dd6900;
    }


/* Shared list heading
   ========================================================================== */

.rec-modal-list-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.5rem 0 .65rem;
}

    .rec-modal-list-heading h4 {
        margin: 0;
        color: #5b5961;
        font-size: .76rem;
        font-weight: 600;
        letter-spacing: .055em;
        text-transform: uppercase;
    }

    .rec-modal-list-heading > span,
    .rec-selection-count {
        color: #918e97;
        font-size: .74rem;
    }


/* Person search results
   ========================================================================== */

.rec-person-list {
    border-top: 1px solid #e2e1e8;
}

.rec-person-result {
    appearance: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    padding: 1rem .75rem;
    border: 0;
    border-bottom: 1px solid #e2e1e8;
    background: #fff;
    color: #49484f;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease;
}

    .rec-person-result:hover,
    .rec-person-result:focus-visible {
        background: #faf8f5;
        box-shadow: inset 3px 0 0 #dd6900;
        outline: none;
    }

.rec-person-result-main {
    min-width: 0;
}

.rec-person-name-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .5rem;
}

    .rec-person-name-line strong {
        color: #49484f;
        font-family: "Rubik", sans-serif;
        font-size: .92rem;
        font-weight: 500;
    }

.rec-person-department {
    color: #827f88;
    font-size: .68rem;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.rec-person-result p {
    margin: .35rem 0 0;
    color: #77747c;
    font-size: .79rem;
    line-height: 1.5;
}

    .rec-person-result p > span {
        margin-right: .35rem;
        color: #99969e;
        font-size: .68rem;
        font-weight: 600;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

.rec-tmdb-id {
    flex: 0 0 auto;
    color: #a09da5;
    font-size: .68rem;
    white-space: nowrap;
}


/* Selected director
   ========================================================================== */

.rec-selected-person {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #e2e1e8;
    border-bottom: 1px solid #e2e1e8;
}

.rec-selected-person-label {
    display: block;
    margin-bottom: .25rem;
    color: #918e97;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.rec-selected-person-name {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .55rem;
}

    .rec-selected-person-name strong {
        color: #49484f;
        font-family: "Rubik", sans-serif;
        font-size: 1rem;
        font-weight: 500;
    }

    .rec-selected-person-name > span {
        color: #85828b;
        font-size: .75rem;
    }

.rec-change-person {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    flex: 0 0 auto;
    text-decoration: none;
}


/* Filmography
   ========================================================================== */

.rec-filmography-list {
    max-height: 390px;
    overflow-y: auto;
    border-top: 1px solid #e2e1e8;
}

.rec-film-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: .85rem;
    margin: 0;
    padding: .8rem .75rem;
    border-bottom: 1px solid #e2e1e8;
    background: #fff;
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease;
}

    .rec-film-option:hover {
        background: #fafafa;
    }

    .rec-film-option.is-selected {
        background: #faf8f5;
        box-shadow: inset 3px 0 0 #dd6900;
    }

    .rec-film-option.is-disabled {
        background: #f6f6f6;
        cursor: not-allowed;
        opacity: .55;
    }

    .rec-film-option input {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: 0;
        opacity: 0;
        pointer-events: none;
    }

.rec-film-checkbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border: 1px solid #aaa8b0;
    background: #fff;
    color: transparent;
    font-size: .65rem;
}

.rec-film-option input:checked + .rec-film-checkbox {
    border-color: #dd6900;
    background: #dd6900;
    color: #fff;
}

.rec-film-option:focus-within .rec-film-checkbox {
    outline: 2px solid #dd6900;
    outline-offset: 2px;
}

.rec-film-details {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-width: 0;
}

.rec-film-title-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .45rem;
    min-width: 0;
}

    .rec-film-title-line strong {
        color: #49484f;
        font-size: .86rem;
        font-weight: 500;
    }

    .rec-film-title-line > span {
        color: #8d8a93;
        font-size: .75rem;
    }


/* Selection status
   ========================================================================== */

.rec-film-selection-status {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .7rem;
    color: #85828b;
    font-size: .75rem;
}

    .rec-film-selection-status strong {
        color: #5d5a63;
    }

    .rec-film-selection-status.has-reached-limit > span:last-child {
        color: #92631e;
    }


/* Messages
   ========================================================================== */

.rec-modal-message {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin-top: 1.25rem;
    padding: .85rem 0;
    border-top: 1px solid #dfe8ec;
    border-bottom: 1px solid #dfe8ec;
    color: #53686f;
}

    .rec-modal-message i {
        margin-top: .25rem;
        color: #607d86;
    }

    .rec-modal-message p {
        margin: 0;
        color: inherit;
        font-size: .82rem;
        line-height: 1.55;
    }


/* Footer
   ========================================================================== */

.rec-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 1.75rem;
    border-top: 1px solid #e2e1e8;
    background: #fafafa;
}

.rec-tmdb-credit {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #918e97;
    font-size: .68rem;
}

    .rec-tmdb-credit img {
        display: block;
        width: auto;
        max-width: 95px;
        max-height: 18px;
    }

.rec-modal-actions {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.rec-modal-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: .55rem .9rem;
    border: 1px solid transparent;
    font-family: "Rubik", sans-serif;
    font-size: .78rem;
    font-weight: 500;
    cursor: pointer;
}

.rec-modal-button--secondary {
    border-color: #c8c6cd;
    background: #fff;
    color: #66636c;
}

    .rec-modal-button--secondary:hover {
        border-color: #99969e;
        background: #f3f2f4;
        color: #49484f;
    }

.rec-modal-button--primary {
    border-color: #c45f12;
    background: #dd6900;
    color: #fff;
}

    .rec-modal-button--primary:hover:not(:disabled) {
        border-color: #ad520e;
        background: #c95f00;
    }

.rec-modal-button:disabled {
    border-color: #cfced3;
    background: #dddce0;
    color: #89868e;
    cursor: not-allowed;
}


/* Responsive
   ========================================================================== */

@media (max-width: 650px) {
    .rec-modal-header,
    .rec-modal-body,
    .rec-modal-footer {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .rec-modal-section-header,
    .rec-selected-person,
    .rec-modal-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .rec-person-result {
        flex-direction: column;
        gap: .45rem;
    }

    .rec-film-details {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }

    .rec-film-selection-status {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem;
    }

    .rec-modal-actions {
        width: 100%;
    }

    .rec-modal-button {
        flex: 1;
    }
}

.tech-logo {
    height: 30px;
    width: auto;
    vertical-align: middle;
    display: block;
    flex-shrink: 0;
}

.tech-section {
    margin-top: 3rem;
}

    .tech-section .row {
        justify-content: center;
    }

    .tech-section .col {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem;
    }

    .tech-section h3 {
        margin-bottom: 0.5rem;
    }

/* ==========================================================================
   Advanced options
   ========================================================================== */

.rec-advanced-section {
    margin-top: 2.5rem;
}

.rec-advanced-options {
    border-top: 1px solid #e2e1e8;
}

.rec-setting {
    padding: 1.35rem 0;
    border-bottom: 1px solid #e2e1e8;
}

.rec-setting-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.rec-setting label,
.rec-setting-label {
    display: block;
    margin: 0;
    color: #55535b;
    font-family: "Rubik", sans-serif;
    font-size: .9rem;
    font-weight: 500;
}

.rec-setting p {
    max-width: 650px;
    margin: .3rem 0 0;
    color: #85828b;
    font-size: .8rem;
    line-height: 1.55;
}

.rec-setting-value {
    flex: 0 0 auto;
    padding: .25rem .55rem;
    border: 1px solid #cfced4;
    color: #66636c;
    font-family: "Rubik", sans-serif;
    font-size: .72rem;
    font-weight: 500;
    white-space: nowrap;
}


/* Range
   ========================================================================== */

.rec-range {
    display: block;
    width: 100%;
    margin: 0;
    accent-color: #dd6900;
}

.rec-range-labels {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .45rem;
    color: #99969e;
    font-size: .7rem;
}


/* Fixed value
   ========================================================================== */

.rec-setting--fixed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.rec-fixed-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 52px;
    min-height: 38px;
    padding: .45rem .75rem;
    border: 1px solid #d2d0d6;
    background: #f6f5f7;
    color: #55535b;
    font-family: "Rubik", sans-serif;
    font-size: .9rem;
    font-weight: 500;
}


/* Responsive
   ========================================================================== */

@media (max-width: 620px) {
    .rec-setting-header,
    .rec-setting--fixed {
        align-items: flex-start;
        flex-direction: column;
        gap: .75rem;
    }

    .rec-setting-value {
        align-self: flex-start;
    }
}