:root {
    --rdc-blue: #007fff;
    --rdc-blue-dark: #07518f;
    --rdc-blue-soft: #eaf5ff;
    --rdc-yellow: #f7d417;
    --rdc-yellow-soft: #fff8cf;
    --rdc-red: #ce1021;
    --rdc-red-dark: #9f0c19;
    --rdc-red-soft: #fff0f2;
    --rdv-ink: #152033;
    --rdv-muted: #65738a;
    --rdv-border: #dce6f2;
    --rdv-surface: #ffffff;
    --rdv-page: #f4f8fc;
    --rdv-success: #12805c;
}

html {
    scroll-behavior: smooth;
}

.public-rdv-body {
    background: var(--rdv-page);
    color: var(--rdv-ink);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: 0;
}

.public-rdv-shell {
    background:
        linear-gradient(180deg, rgba(0, 127, 255, .05), rgba(255, 255, 255, 0) 340px),
        var(--rdv-page);
}

.text-rdc-blue {
    color: var(--rdc-blue);
}

.rdc-ribbon {
    height: 6px;
    background:
        linear-gradient(
            90deg,
            var(--rdc-blue) 0 58%,
            var(--rdc-yellow) 58% 72%,
            var(--rdc-red) 72% 100%
        );
}

.rdv-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(220, 230, 242, .9);
    box-shadow: 0 8px 28px rgba(21, 32, 51, .06);
    backdrop-filter: blur(14px);
}

.brand-lockup {
    min-width: 0;
}

.brand-logo {
    width: auto;
    max-width: min(420px, 58vw);
    height: 54px;
    object-fit: contain;
}

.rdv-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 68px;
    color: #ffffff;
    background-image:
        linear-gradient(95deg, rgba(5, 39, 77, .96) 0%, rgba(7, 81, 143, .9) 52%, rgba(5, 39, 77, .54) 100%),
        url("/images/passeport.png");
    background-position: center;
    background-size: cover;
}

.rdv-hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 7px;
    content: "";
    background:
        linear-gradient(
            90deg,
            var(--rdc-blue) 0 48%,
            var(--rdc-yellow) 48% 70%,
            var(--rdc-red) 70% 100%
        );
}

.hero-kicker,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .9rem;
    color: var(--rdc-yellow);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-kicker img {
    width: 34px;
    height: 22px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 4px;
    object-fit: cover;
}

.rdv-hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: 2.35rem;
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 620px;
    margin: 1.1rem 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.8rem;
}

.hero-visual {
    position: relative;
    min-height: 330px;
}

.hero-visual img {
    position: absolute;
    right: 9%;
    bottom: 22px;
    width: 245px;
    max-width: 68%;
    filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .36));
}

.hero-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: .7rem;
    max-width: 310px;
    padding: 1rem;
    color: #ffffff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    box-shadow: 0 22px 54px rgba(0, 0, 0, .2);
    backdrop-filter: blur(12px);
}

.hero-badge i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--rdv-ink);
    background: var(--rdc-yellow);
    border-radius: 8px;
    font-size: 1.35rem;
}

.hero-badge span {
    font-weight: 700;
    line-height: 1.35;
}

.rdv-facts {
    padding: 22px 0 34px;
}

.fact-item {
    display: flex;
    gap: .9rem;
    min-height: 100%;
    padding: 1.05rem;
    background: var(--rdv-surface);
    border: 1px solid var(--rdv-border);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(21, 32, 51, .06);
}

.fact-item i {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--rdc-blue-dark);
    background: var(--rdc-blue-soft);
    border-radius: 8px;
    font-size: 1.35rem;
}

.fact-item strong,
.fact-item span {
    display: block;
}

.fact-item strong {
    margin-bottom: .15rem;
    font-size: .96rem;
}

.fact-item span {
    color: var(--rdv-muted);
    font-size: .88rem;
    line-height: 1.5;
}

.rdv-message-modal .modal-dialog {
    max-width: 500px;
}

.modal-backdrop.show {
    opacity: .5;
    backdrop-filter: blur(4px);
}

.rdv-message-modal .modal-content {
    overflow: hidden;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(220, 230, 242, .95);
    border-radius: 8px;
    box-shadow: 0 34px 90px rgba(21, 32, 51, .32);
}

.rdv-message-modal .modal-content::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: block;
    height: 5px;
    content: "";
    background:
        linear-gradient(
            90deg,
            var(--rdc-blue) 0 54%,
            var(--rdc-yellow) 54% 72%,
            var(--rdv-success) 72% 100%
        );
}

.rdv-message-modal.is-error .modal-content::before {
    background:
        linear-gradient(
            90deg,
            var(--rdc-blue) 0 44%,
            var(--rdc-yellow) 44% 62%,
            var(--rdc-red) 62% 100%
        );
}

.rdv-message-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 38px;
    height: 38px;
    padding: 0;
    background-color: rgba(244, 248, 252, .95);
    border: 1px solid rgba(220, 230, 242, .9);
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(21, 32, 51, .08);
    opacity: 1;
}

.rdv-message-close:hover,
.rdv-message-close:focus {
    background-color: #ffffff;
    box-shadow: 0 12px 26px rgba(21, 32, 51, .12);
}

.rdv-message-modal .modal-body {
    position: relative;
    padding: 2.15rem 2rem 2rem;
    text-align: center;
}

.rdv-message-ribbon {
    display: inline-grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: .28rem;
    width: 92px;
    margin-bottom: 1rem;
}

.rdv-message-ribbon span {
    height: 5px;
    border-radius: 8px;
}

.rdv-message-ribbon span:nth-child(1) {
    background: var(--rdc-blue);
}

.rdv-message-ribbon span:nth-child(2) {
    background: var(--rdc-yellow);
}

.rdv-message-ribbon span:nth-child(3) {
    background: var(--rdv-success);
}

.rdv-message-modal.is-error .rdv-message-ribbon span:nth-child(3) {
    background: var(--rdc-red);
}

.rdv-message-emblem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin-bottom: 1rem;
    background: #ffffff;
    border: 1px solid rgba(18, 128, 92, .14);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(21, 32, 51, .12);
}

.rdv-message-modal.is-error .rdv-message-emblem {
    border-color: rgba(206, 16, 33, .18);
}

.rdv-message-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    color: #ffffff;
    background:
        linear-gradient(180deg, #18a879 0%, var(--rdv-success) 100%);
    border-radius: 8px;
    box-shadow: 0 16px 30px rgba(18, 128, 92, .24);
    font-size: 2.25rem;
}

.rdv-message-modal.is-error .rdv-message-icon {
    background:
        linear-gradient(180deg, #ef3b4d 0%, var(--rdc-red) 100%);
    box-shadow: 0 16px 30px rgba(206, 16, 33, .24);
}

.rdv-message-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    margin: 0 0 .45rem;
    padding: .34rem .65rem;
    color: var(--rdc-blue-dark);
    background: var(--rdc-blue-soft);
    border: 1px solid rgba(0, 127, 255, .16);
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.rdv-message-modal.is-error .rdv-message-kicker {
    color: var(--rdc-red-dark);
    background: var(--rdc-red-soft);
    border-color: rgba(206, 16, 33, .16);
}

.rdv-message-modal h2 {
    margin: 0;
    color: var(--rdv-ink);
    font-size: 1.45rem;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: 0;
}

.rdv-message-copy {
    margin: 1rem 0 1.4rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--rdv-border);
    border-radius: 8px;
    text-align: left;
}

.rdv-message-modal #rdvMessageText {
    margin: 0;
    color: var(--rdv-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.rdv-message-action {
    min-height: 48px;
    box-shadow: 0 14px 28px rgba(0, 127, 255, .2);
}

.rdv-message-modal.is-error .rdv-message-action {
    box-shadow: 0 14px 28px rgba(206, 16, 33, .2);
}

.rdv-section,
.rdv-workspace {
    padding: 46px 0 58px;
}

.rdv-section-heading {
    max-width: 700px;
    margin: 0 auto 1.6rem;
}

.section-eyebrow {
    color: var(--rdc-blue-dark);
}

.rdv-section-heading h2,
.rdv-panel-header h2,
.confirmation-panel h3 {
    margin: 0;
    color: var(--rdv-ink);
    font-size: 1.8rem;
    font-weight: 820;
    line-height: 1.15;
    letter-spacing: 0;
}

.rdv-section-heading p,
.rdv-panel-header p,
.confirmation-panel p {
    margin: .55rem 0 0;
    color: var(--rdv-muted);
    line-height: 1.6;
}

.service-tile {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    min-height: 122px;
    padding: 1.15rem;
    color: var(--rdv-ink);
    text-align: left;
    background: var(--rdv-surface);
    border: 1px solid var(--rdv-border);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(21, 32, 51, .07);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.service-tile:hover,
.service-tile:focus {
    color: var(--rdv-ink);
    border-color: rgba(0, 127, 255, .5);
    box-shadow: 0 24px 52px rgba(7, 81, 143, .14);
    transform: translateY(-2px);
}

.service-tile-red:hover,
.service-tile-red:focus {
    border-color: rgba(206, 16, 33, .45);
    box-shadow: 0 24px 52px rgba(206, 16, 33, .12);
}

.service-icon,
.panel-icon,
.result-icon,
.footer-mark {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.service-icon {
    width: 58px;
    height: 58px;
    color: #ffffff;
    background: var(--rdc-blue);
    font-size: 1.6rem;
}

.service-tile-red .service-icon {
    background: var(--rdc-red);
}

.service-content {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.service-content strong,
.service-content small {
    display: block;
}

.service-content strong {
    margin-bottom: .25rem;
    font-size: 1.02rem;
}

.service-content small {
    color: var(--rdv-muted);
    line-height: 1.45;
}

.service-arrow {
    color: var(--rdv-muted);
    font-size: 1.2rem;
}

.rdv-panel {
    overflow: hidden;
    background: var(--rdv-surface);
    border: 1px solid var(--rdv-border);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(21, 32, 51, .09);
}

.rdv-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.45rem;
    background:
        linear-gradient(90deg, rgba(0, 127, 255, .08), rgba(247, 212, 23, .08), rgba(206, 16, 33, .05)),
        #ffffff;
    border-bottom: 1px solid var(--rdv-border);
}

.panel-icon {
    width: 52px;
    height: 52px;
    color: #ffffff;
    font-size: 1.45rem;
}

.panel-icon-blue {
    background: var(--rdc-blue);
}

.panel-icon-red {
    background: var(--rdc-red);
}

.step-badge {
    flex: 0 0 auto;
    padding: .5rem .75rem;
    color: var(--rdc-blue-dark);
    background: var(--rdc-blue-soft);
    border: 1px solid rgba(0, 127, 255, .18);
    border-radius: 8px;
    font-size: .86rem;
    font-weight: 800;
}

.rdv-stepper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: .65rem;
    padding: 1rem 1.45rem;
    background: #fbfdff;
    border-bottom: 1px solid var(--rdv-border);
}

.rdv-step {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
    color: var(--rdv-muted);
}

.rdv-step span {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--rdv-muted);
    background: #ffffff;
    border: 1px solid var(--rdv-border);
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 800;
}

.rdv-step strong {
    overflow: hidden;
    font-size: .86rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rdv-step.active {
    color: var(--rdc-blue-dark);
}

.rdv-step.active span {
    color: #ffffff;
    background: var(--rdc-blue);
    border-color: var(--rdc-blue);
}

.rdv-step.done span {
    color: #ffffff;
    background: var(--rdv-success);
    border-color: var(--rdv-success);
}

.rdv-panel-body {
    padding: 1.45rem;
}

.form-label {
    margin-bottom: .45rem;
    color: var(--rdv-ink);
    font-size: .92rem;
    font-weight: 760;
}

.form-control,
.form-select {
    min-height: 48px;
    color: var(--rdv-ink);
    border-color: #cfdcec;
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--rdc-blue);
    box-shadow: 0 0 0 .22rem rgba(0, 127, 255, .12);
}

.form-control[readonly] {
    background: #f6f9fc;
}

.verification-code {
    font-weight: 800;
}

.invalid-feedback {
    font-size: .84rem;
    font-weight: 650;
}

.info-callout {
    display: flex;
    gap: .9rem;
    padding: 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
}

.info-callout i {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 1.25rem;
}

.info-callout strong,
.info-callout span,
.info-callout small {
    display: block;
}

.info-callout strong {
    margin-bottom: .18rem;
    color: var(--rdv-ink);
}

.info-callout span,
.info-callout small {
    color: var(--rdv-muted);
    line-height: 1.45;
}

.info-callout-blue {
    background: var(--rdc-blue-soft);
    border-color: rgba(0, 127, 255, .18);
}

.info-callout-blue i {
    color: var(--rdc-blue-dark);
    background: #ffffff;
}

.info-callout-yellow {
    background: var(--rdc-yellow-soft);
    border-color: rgba(247, 212, 23, .34);
}

.info-callout-yellow i {
    color: #806600;
    background: #ffffff;
}

.availability-card {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--rdv-border);
    border-radius: 8px;
}

.availability-card.available {
    background: #f0fbf7;
    border-color: rgba(18, 128, 92, .2);
}

.availability-card.unavailable {
    background: var(--rdc-yellow-soft);
    border-color: rgba(247, 212, 23, .4);
}

.availability-card-compact {
    width: 100%;
    margin-top: .25rem;
}

.availability-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #ffffff;
    background: var(--rdv-success);
    border-radius: 8px;
    font-size: 1.35rem;
}

.availability-card.unavailable .availability-icon {
    color: #806600;
    background: #ffffff;
}

.availability-content {
    min-width: 0;
}

.availability-content strong,
.availability-content p {
    display: block;
}

.availability-content strong {
    color: var(--rdv-ink);
}

.availability-content p {
    margin: .25rem 0 0;
    color: var(--rdv-muted);
    line-height: 1.55;
}

.availability-dates {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .85rem;
}

.availability-date-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .6rem;
    color: var(--rdc-blue-dark);
    background: #ffffff;
    border: 1px solid rgba(0, 127, 255, .18);
    border-radius: 8px;
    font-size: .84rem;
    font-weight: 800;
}

.availability-date-pill small {
    color: var(--rdv-muted);
    font-size: .76rem;
    font-weight: 750;
}

.time-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.time-slot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 74px;
    padding: .85rem;
    color: var(--rdv-ink);
    text-align: center;
    background: #ffffff;
    border: 1px solid #cfdcec;
    border-radius: 8px;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.time-slot strong {
    font-size: .98rem;
}

.time-slot span {
    color: var(--rdv-muted);
    font-size: .82rem;
}

.time-slot:hover,
.time-slot:focus {
    border-color: var(--rdc-blue);
    box-shadow: 0 12px 28px rgba(0, 127, 255, .12);
}

.time-slot.selected {
    color: #ffffff;
    background: var(--rdc-blue);
    border-color: var(--rdc-blue);
}

.time-slot.selected span {
    color: rgba(255, 255, 255, .82);
}

.rdv-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: .65rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 0;
}

.btn-rdc-primary {
    color: #ffffff;
    background: var(--rdc-blue);
    border-color: var(--rdc-blue);
    box-shadow: 0 12px 26px rgba(0, 127, 255, .18);
}

.btn-rdc-primary:hover,
.btn-rdc-primary:focus {
    color: #ffffff;
    background: var(--rdc-blue-dark);
    border-color: var(--rdc-blue-dark);
}

.btn-rdc-red {
    color: #ffffff;
    background: var(--rdc-red);
    border-color: var(--rdc-red);
    box-shadow: 0 12px 26px rgba(206, 16, 33, .18);
}

.btn-rdc-red:hover,
.btn-rdc-red:focus {
    color: #ffffff;
    background: var(--rdc-red-dark);
    border-color: var(--rdc-red-dark);
}

.btn-rdc-light {
    color: var(--rdv-ink);
    background: #ffffff;
    border-color: #ffffff;
}

.btn-rdc-light:hover,
.btn-rdc-light:focus {
    color: var(--rdv-ink);
    background: var(--rdc-yellow);
    border-color: var(--rdc-yellow);
}

.btn-rdc-outline {
    color: var(--rdc-blue-dark);
    background: #ffffff;
    border-color: rgba(0, 127, 255, .35);
}

.btn-rdc-outline:hover,
.btn-rdc-outline:focus {
    color: #ffffff;
    background: var(--rdc-blue);
    border-color: var(--rdc-blue);
}

.btn-rdc-muted,
.btn-rdc-ghost {
    color: var(--rdv-ink);
    background: #ffffff;
    border-color: var(--rdv-border);
}

.btn-rdc-muted:hover,
.btn-rdc-muted:focus,
.btn-rdc-ghost:hover,
.btn-rdc-ghost:focus {
    color: var(--rdc-blue-dark);
    background: var(--rdc-blue-soft);
    border-color: rgba(0, 127, 255, .25);
}

.result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--rdv-border);
    border-radius: 8px;
}

.result-card-stacked {
    align-items: stretch;
    flex-direction: column;
}

.result-main {
    display: flex;
    gap: .9rem;
    min-width: 0;
}

.result-icon {
    width: 46px;
    height: 46px;
    color: var(--rdc-blue-dark);
    background: var(--rdc-blue-soft);
    font-size: 1.3rem;
}

.result-card h3 {
    margin: 0 0 .35rem;
    color: var(--rdv-ink);
    font-size: 1rem;
    font-weight: 820;
}

.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .9rem;
    margin-bottom: .55rem;
    color: var(--rdv-muted);
    font-size: .88rem;
}

.result-meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.status-chip {
    display: inline-flex;
    padding: .35rem .55rem;
    color: var(--rdv-ink);
    background: var(--rdc-yellow-soft);
    border: 1px solid rgba(247, 212, 23, .36);
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 800;
}

.result-card p {
    margin: .7rem 0 0;
    color: var(--rdv-muted);
}

.centre-details {
    display: flex;
    gap: .5rem;
    width: 100%;
    padding: .75rem .85rem;
    color: var(--rdv-muted);
    background: #fbfdff;
    border: 1px solid var(--rdv-border);
    border-radius: 8px;
    font-size: .88rem;
    line-height: 1.45;
}

.centre-details i {
    flex: 0 0 auto;
    color: var(--rdc-blue-dark);
}

.confirmation-check {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem;
    background: #fbfdff;
    border: 1px solid var(--rdv-border);
    border-radius: 8px;
}

.confirmation-check input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: .2rem;
    accent-color: var(--rdc-blue);
}

.confirmation-check span {
    color: var(--rdv-ink);
    font-weight: 700;
    line-height: 1.5;
}

.confirmation-panel {
    max-width: 650px;
    margin: 0 auto;
    padding: 2rem 0;
    text-align: center;
}

.confirmation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 1rem;
    color: #ffffff;
    background: var(--rdv-success);
    border-radius: 8px;
    font-size: 2.5rem;
}

.reference-box {
    display: inline-flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 280px;
    margin: 1.3rem 0;
    padding: 1rem 1.2rem;
    background: var(--rdc-blue-soft);
    border: 1px solid rgba(0, 127, 255, .18);
    border-radius: 8px;
}

.reference-box span {
    color: var(--rdv-muted);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.reference-box strong {
    color: var(--rdc-blue-dark);
    font-size: 1.55rem;
    font-weight: 900;
}

.passport-number-highlight {
    display: inline-flex;
    flex-direction: column;
    gap: .12rem;
    min-width: min(100%, 340px);
    margin: .25rem 0 .75rem;
    padding: .85rem 1rem;
    color: #ffffff;
    background: var(--rdc-blue-dark);
    border-left: 5px solid var(--rdc-yellow);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(7, 81, 143, .16);
}

.passport-number-highlight span {
    color: rgba(255, 255, 255, .78);
    font-size: .75rem;
    font-weight: 850;
    text-transform: uppercase;
}

.passport-number-highlight strong {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 950;
    line-height: 1.08;
}

.centre-details div {
    min-width: 0;
}

.centre-details strong {
    display: block;
    margin-bottom: .12rem;
    color: var(--rdv-ink);
    font-size: .9rem;
}

.rdv-message-modal .modal-dialog {
    max-width: 460px;
}

.rdv-message-modal .modal-content {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(207, 220, 236, .98);
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(21, 32, 51, .28);
}

.rdv-message-modal .modal-content::before {
    height: 4px;
    background:
        linear-gradient(
            90deg,
            var(--rdc-blue) 0 56%,
            var(--rdc-yellow) 56% 74%,
            var(--rdv-success) 74% 100%
        );
}

.rdv-message-modal.is-error .modal-content::before {
    background:
        linear-gradient(
            90deg,
            var(--rdc-blue) 0 50%,
            var(--rdc-yellow) 50% 68%,
            var(--rdc-red) 68% 100%
        );
}

.rdv-message-close {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background-color: #ffffff;
    box-shadow: none;
}

.rdv-message-modal .modal-body {
    padding: 1.65rem;
    text-align: left;
}

.rdv-message-top {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding-right: 2.2rem;
}

.rdv-message-icon {
    width: 48px;
    height: 48px;
    color: #ffffff;
    background: var(--rdv-success);
    border-radius: 8px;
    box-shadow: none;
    font-size: 1.35rem;
}

.rdv-message-modal.is-error .rdv-message-icon {
    background: var(--rdc-red);
    box-shadow: none;
}

.rdv-message-kicker {
    display: block;
    min-height: 0;
    margin: 0 0 .18rem;
    padding: 0;
    color: var(--rdc-blue-dark);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: .74rem;
}

.rdv-message-modal.is-error .rdv-message-kicker {
    color: var(--rdc-red-dark);
    background: transparent;
    border-color: transparent;
}

.rdv-message-modal h2 {
    font-size: 1.22rem;
}

.rdv-message-copy {
    margin: 1.15rem 0 1.25rem;
    padding: 1rem;
    color: var(--rdv-muted);
    background: #f8fbff;
    border: 1px solid var(--rdv-border);
    border-radius: 8px;
    line-height: 1.6;
}

.rdv-message-modal #rdvMessageText {
    color: var(--rdv-muted);
}

.rdv-message-action,
.rdv-message-modal.is-error .rdv-message-action {
    min-height: 46px;
    box-shadow: none;
}

.rdv-footer {
    padding: 0;
    background: #ffffff;
    border-top: 1px solid var(--rdv-border);
}

.footer-ribbon {
    height: 5px;
    background:
        linear-gradient(
            90deg,
            var(--rdc-blue) 0 55%,
            var(--rdc-yellow) 55% 72%,
            var(--rdc-red) 72% 100%
        );
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(220, 230, 242, .75);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: .85rem;
    min-width: 0;
}

.footer-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    color: #ffffff;
    background: var(--rdc-blue-dark);
    border-radius: 8px;
    box-shadow: inset 0 -3px 0 var(--rdc-yellow);
    font-size: 1.08rem;
}

.footer-brand strong {
    display: block;
    color: var(--rdv-ink);
    font-size: 1rem;
    line-height: 1.25;
}

.footer-brand small {
    display: block;
    margin-top: .18rem;
    color: var(--rdv-muted);
}

.footer-developer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .45rem;
    min-width: 0;
    color: var(--rdv-muted);
    font-size: .86rem;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: .45rem .65rem;
    color: var(--rdv-ink);
    background: #f8fbff;
    border: 1px solid var(--rdv-border);
    border-radius: 8px;
    font-size: .84rem;
    font-weight: 900;
    text-decoration: none;
}

.footer-credit:hover,
.footer-credit:focus {
    color: #ffffff;
    background: var(--rdc-blue-dark);
    border-color: var(--rdc-blue-dark);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    padding: .75rem 0 .9rem;
    color: var(--rdv-muted);
    font-size: .8rem;
}

.footer-secure {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--rdc-blue-dark);
    font-weight: 800;
}

@media (min-width: 992px) {
    .rdv-hero {
        padding: 92px 0 86px;
    }

    .rdv-hero h1 {
        font-size: 4rem;
    }

    .hero-lead {
        font-size: 1.18rem;
    }

    .rdv-panel-header,
    .rdv-panel-body {
        padding: 1.8rem;
    }

    .rdv-stepper {
        padding-right: 1.8rem;
        padding-left: 1.8rem;
    }
}

@media (max-width: 991.98px) {
    .footer-main {
        gap: 1rem;
    }
}

@media (max-width: 767.98px) {
    .brand-logo {
        height: 42px;
        max-width: 66vw;
    }

    .rdv-hero {
        padding: 52px 0 48px;
    }

    .rdv-hero h1 {
        font-size: 2.15rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .rdv-panel-header {
        flex-direction: column;
    }

    .step-badge {
        align-self: flex-start;
    }

    .rdv-stepper {
        display: flex;
        overflow-x: auto;
        padding-bottom: 1.05rem;
    }

    .rdv-step {
        flex: 0 0 auto;
        min-width: 136px;
    }

    .time-slot-grid {
        grid-template-columns: 1fr;
    }

    .result-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .result-card .btn {
        width: 100%;
    }

    .footer-main {
        flex-direction: column;
        align-items: center;
        gap: .85rem;
        text-align: center;
    }

    .footer-developer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: .35rem;
        width: 100%;
        text-align: center;
    }

    .footer-credit {
        width: auto;
        max-width: 100%;
    }

    .footer-bottom {
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .rdv-section,
    .rdv-workspace {
        padding: 30px 0 42px;
    }

    .rdv-panel-header,
    .rdv-panel-body {
        padding: 1rem;
    }

    .rdv-stepper {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .service-tile {
        align-items: flex-start;
        min-height: auto;
    }

    .service-arrow {
        display: none;
    }

    .rdv-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .rdv-actions .btn {
        width: 100%;
    }

    .reference-box {
        min-width: 100%;
    }

    .passport-number-highlight {
        width: 100%;
    }

    .passport-number-highlight strong {
        font-size: 1.45rem;
    }

    .footer-main {
        padding: 1.1rem 0 .95rem;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
        gap: .55rem;
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .footer-mark {
        width: 42px;
        height: 42px;
    }

    .footer-brand strong {
        font-size: .94rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: .35rem;
        padding-bottom: 1rem;
    }

    .footer-secure {
        justify-content: center;
    }
}
