﻿.select2-container--default .select2-search--dropdown .select2-search__field {
    border-radius: 24px;
}
.select2-selection__rendered {
    line-height: 46px !important;
}

.select2-selection__arrow {
    height: 46px !important;
}

.select2-container--default .select2-selection--single {
    border-radius: 24px !important;
    height: 48px !important;
}

.select2-container--open .select2-dropdown--below {
    border: none !important;
    box-shadow: 0px 0px 5px #384250 !important;
    border-radius: 24px !important;
}

:root {
    --snap-red: #e30613;
    --snap-red-dark: #b80510;
    --snap-ink: #171717;
    --snap-muted: #667085;
    --snap-border: #f0d4d6;
    --snap-soft: #fff5f5;
}

body {
    background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
    color: var(--snap-ink);
}

.register-riders {
    max-width: 1120px;
    margin: 88px auto 32px;
}

.rider-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
    gap: 24px;
    align-items: stretch;
    padding: 32px;
    border: 1px solid var(--snap-border);
    border-radius: 28px;
    background:
        radial-gradient(circle at 15% 20%, rgba(227, 6, 19, .12), transparent 28%),
        linear-gradient(135deg, #fff 0%, #fff7f7 52%, #ffffff 100%);
    box-shadow: 0 18px 50px rgba(23, 23, 23, .08);
}

.rider-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--snap-red);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.rider-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(2rem, 4vw, 3.9rem);
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: 0;
    max-width: 760px;
}

.rider-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--snap-muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.rider-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.rider-trust span {
    padding: 9px 12px;
    border: 1px solid var(--snap-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: var(--snap-red-dark);
    font-size: .88rem;
    font-weight: 700;
}

.rider-app-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(100%, 720px);
    margin-top: 22px;
    padding: 16px;
    border: 1px solid rgba(227, 6, 19, .18);
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 10px 26px rgba(23, 23, 23, .06);
}

.rider-app-download strong,
.rider-app-download span {
    display: block;
}

.rider-app-download strong {
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 800;
}

.rider-app-download span {
    color: var(--snap-muted);
    font-size: .9rem;
    line-height: 1.45;
}

.rider-app-download--success {
    width: 100%;
    max-width: 720px;
}

.rider-download-btn,
.rider-download-btn:hover,
.rider-download-btn:focus {
    flex: 0 0 auto;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--snap-red);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(227, 6, 19, .22);
}

.rider-hero__steps {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(227, 6, 19, .15);
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
}

.rider-hero__steps div {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(23, 23, 23, .05);
}

.rider-hero__steps strong {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--snap-red);
    color: #fff;
}

.rider-hero__steps span {
    font-weight: 700;
}

.rider-application-card {
    border: 1px solid var(--snap-border);
    border-radius: 28px !important;
    box-shadow: 0 16px 45px rgba(23, 23, 23, .07);
    overflow: hidden;
}

.rider-application-card .card-body {
    padding: 28px;
}

.stepwizard-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.stepwizard-step {
    min-width: 0;
    text-align: center;
}

.stepwizard-step p {
    margin-top: 8px;
    color: var(--snap-muted);
    font-size: .82rem;
    font-weight: 700;
}

.btn-circle {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--snap-red);
    border-color: var(--snap-red);
}

.btn-secondary {
    background-color: #fff;
    color: var(--snap-red);
    border-color: var(--snap-border);
}

.setup-content {
    margin-top: 24px;
}

.setup-content .col-xs-6,
.setup-content .col-md-offset-3,
.setup-content .col-md-12 {
    width: 100%;
}

.form-control,
.form-select {
    min-height: 48px;
    border-radius: 16px;
    border-color: #dbc4c7;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--snap-red);
    box-shadow: 0 0 0 .2rem rgba(227, 6, 19, .12);
}

.rider-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.rider-checklist__item {
    min-height: 128px;
    padding: 18px;
    border: 1px solid var(--snap-border);
    border-radius: 20px;
    background: #fff;
}

.rider-checklist__item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.rider-checklist__item span {
    color: var(--snap-muted);
    line-height: 1.55;
}

.rider-review-card {
    border-color: var(--snap-border);
    border-radius: 20px;
    background: var(--snap-soft);
    color: var(--snap-ink);
}

.rider-badge--review {
    background: #fff3d0;
    color: #9a5b00;
}

.rider-status-hero .rider-hero__steps .is-done strong,
.rider-status-hero .rider-hero__steps .is-current strong {
    background: var(--snap-red);
}

.rider-status-hero .rider-hero__steps .is-current {
    border: 1px solid rgba(227, 6, 19, .28);
}

.rider-review-layout {
    display: grid;
    grid-template-columns: minmax(320px, 420px) 1fr;
    gap: 18px;
    align-items: start;
}

.rider-review-panel,
.rider-next-panel,
.rider-delete-help {
    border: 1px solid var(--snap-border);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(23, 23, 23, .06);
}

.rider-review-panel {
    padding: 26px;
}

.rider-next-panel {
    padding: 24px;
}

.rider-review-panel__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.rider-review-panel__header h2,
.rider-next-panel h2 {
    margin: 0;
    color: var(--snap-ink);
    font-size: 1.9rem;
    line-height: 1.05;
    font-weight: 900;
}

.rider-review-panel__header span {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ffb020;
    color: #fff;
    font-size: .74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.rider-detail-list {
    display: grid;
    gap: 15px;
    margin: 0;
}

.rider-detail-list div {
    padding-bottom: 12px;
    border-bottom: 1px solid #f0e0e2;
}

.rider-detail-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.rider-detail-list dt {
    margin-bottom: 4px;
    color: var(--snap-ink);
    font-weight: 900;
}

.rider-detail-list dd {
    margin: 0;
    color: #303030;
    overflow-wrap: anywhere;
}

.rider-delete-help {
    padding: 16px 20px;
}

.rider-delete-help summary {
    cursor: pointer;
    font-weight: 800;
}

.rider-delete-help p {
    margin: 12px 0 0;
    color: var(--snap-muted);
}

.rider-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

input[type="file"].form-control {
    padding: 11px 14px;
}

.alert-light.border {
    border-color: var(--snap-border) !important;
    border-radius: 18px;
    background: #fffafa;
}

@media (max-width: 768px) {
    .register-riders {
        margin: 76px 0 20px;
    }

    .rider-hero {
        grid-template-columns: 1fr;
        padding: 22px;
        border-radius: 22px;
    }

    .rider-hero h1 {
        font-size: 2rem;
    }

    .rider-hero__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rider-hero__steps div {
        grid-template-columns: 36px 1fr;
        padding: 10px;
    }

    .rider-hero__steps strong {
        width: 36px;
        height: 36px;
    }

    .rider-app-download {
        align-items: stretch;
        flex-direction: column;
    }

    .rider-download-btn {
        width: 100%;
        text-align: center;
    }

    .rider-application-card .card-body {
        padding: 18px;
    }

    .stepwizard-row {
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .stepwizard-step {
        min-width: 86px;
    }

    .rider-checklist {
        grid-template-columns: 1fr;
    }

    .rider-review-layout {
        grid-template-columns: 1fr;
    }

    .rider-review-panel,
    .rider-next-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .rider-review-panel__header {
        flex-direction: column;
    }

    .rider-review-panel__header h2,
    .rider-next-panel h2 {
        font-size: 1.55rem;
    }

    #step-3 .col-6,
    #step-3 .col-sm-6,
    #step-3 .col-md-6 {
        width: 100%;
    }
}
