/* Request your campus — multi-step dialog (form → review → success) */

.rc-dialog {
    width: min(720px, calc(100% - 16px));
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    border: 0;
    border-radius: 24px;
    padding: 0;
    background: transparent;
    overflow: hidden;
    color: #161b2b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rc-dialog::backdrop {
    background: rgba(22, 27, 43, 0.48);
}

.rc-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    background: #f7f8fa;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(22, 27, 43, 0.18);
    overflow: hidden;
}

.rc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px 0;
    flex: none;
    background: #f7f8fa;
    z-index: 3;
}

.rc-brand {
    display: inline-flex;
    align-items: center;
    height: 34px;
}

.rc-brand img {
    display: block;
    height: 32px;
    width: auto;
}

.rc-close {
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #667085;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.rc-close:hover {
    color: #161b2b;
    border-color: #d0d5dd;
}

.rc-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.rc-stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 20px 0;
    padding: 0;
    list-style: none;
    flex: none;
}

.rc-stepper li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #98a2b3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 550;
}

.rc-stepper .rc-num {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1.5px solid #d0d5dd;
    background: #fff;
    color: #667085;
    display: grid;
    place-items: center;
    flex: none;
    font-size: 12px;
    font-weight: 700;
}

.rc-stepper li.is-done .rc-num,
.rc-stepper li.is-active .rc-num {
    border-color: #20cb78;
    background: #20cb78;
    color: #fff;
}

.rc-stepper li.is-active {
    color: #161b2b;
}

.rc-stepper li.is-done {
    color: #667085;
}

.rc-stepper .rc-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rc-body {
    padding: 18px 20px 0;
    min-height: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.rc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
}

.rc-hero-copy {
    min-width: 0;
}

.rc-hero h2 {
    margin: 0 0 8px;
    font-family: Manrope, "DM Sans", sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #14352a;
}

.rc-hero p {
    margin: 0;
    color: #667085;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
    max-width: 46ch;
}

.rc-benefits {
    list-style: none;
    margin: 14px 0 0;
    padding: 10px 12px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    border: 0;
    border-radius: 14px;
    background: #E7F8F0;
}

.rc-benefits li {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    min-width: 0;
    gap: 6px;
    padding: 0 10px;
    color: #245642;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.rc-benefits li:first-child {
    padding-left: 0;
}

.rc-benefits li:last-child {
    padding-right: 0;
}

.rc-benefits li + li {
    border-left: 1px solid rgba(36, 86, 66, 0.18);
}

.rc-benefit-icon {
    width: 18px;
    height: 18px;
    border-radius: 0;
    background: transparent;
    color: #1aad6a;
    display: grid;
    place-items: center;
    flex: none;
}

.rc-benefit-icon svg {
    width: 18px;
    height: 18px;
}

.rc-art {
    width: 148px;
    height: 148px;
    border-radius: 999px;

    display: grid;
    place-items: center;
    flex: none;
    overflow: hidden;
}

.rc-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rc-art.is-mail {
    width: 148px;
    height: 148px;
    background: transparent;
    border-radius: 24px;
}

.rc-art.is-mail img {
    object-fit: contain;
}

.rc-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    display: grid;
    gap: 16px;
}

.rc-kind {
    margin: 0;
    padding: 0;
    border: 0;
    display: grid;
    gap: 10px;
}

.rc-kind legend {
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #3c4553;
}

.rc-kind-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rc-radio {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 72px;
    padding: 14px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    color: #344054;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rc-radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rc-radio-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1.5px solid #d0d5dd;
    display: grid;
    place-items: center;
    flex: none;
    color: #667085;
    background: #fff;
    margin-top: 1px;
}

.rc-radio-icon svg {
    width: 14px;
    height: 14px;
}

.rc-radio-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.rc-radio-copy strong {
    display: block;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.3;
    color: inherit;
}

.rc-radio-copy span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    color: #667085;
}

.rc-radio:has(input:checked) {
    border-color: #20cb78;
    background: #eefbf3;
    color: #14352a;
}

.rc-radio:has(input:checked) .rc-radio-icon {
    border-color: #20cb78;
    background: #20cb78;
    color: #fff;
}

.rc-radio:has(input:checked) .rc-radio-copy span {
    color: #245642;
}

.rc-field {
    display: grid;
    gap: 6px;
}

.rc-field > span {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #3c4553;
}

.rc-field .req {
    color: #f04438;
}

.rc-input {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.rc-input:focus-within {
    border-color: #20cb78;
    box-shadow: 0 0 0 3px rgba(32, 203, 120, 0.15);
}

.rc-input svg,
.rc-input .rc-flag {
    width: 18px;
    height: 18px;
    flex: none;
    color: #667085;
}

.rc-input .rc-flag {
    font-size: 16px;
    line-height: 1;
    display: grid;
    place-items: center;
}

.rc-input input,
.rc-input select,
.rc-input textarea {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #161b2b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 400;
    padding: 0;
    box-shadow: none;
}

.rc-input select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 22px;
}

.rc-input.is-select2 {
    padding: 0;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.rc-input.is-select2:has(.select2-container--open) {
    z-index: 30;
}

.rc-input.is-select2 .select2-container {
    width: 100% !important;
    flex: 1;
}

.rc-input.is-select2 .select2-container--default .select2-selection--single {
    height: 48px;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    outline: none;
    box-shadow: none;
}

.rc-input.is-select2 .select2-container--default .select2-selection--single .select2-selection__rendered {
    display: flex;
    align-items: center;
    padding: 0 36px 0 12px;
    line-height: 48px;
    color: #161b2b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 400;
}

.rc-input.is-select2:has(> .rc-globe) .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 40px;
}

.rc-input.is-select2 .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px;
    right: 10px;
}

.rc-input.is-select2 .select2-container--default.select2-container--focus .select2-selection--single,
.rc-input.is-select2 .select2-container--default.select2-container--open .select2-selection--single {
    border: 0;
    outline: none;
    box-shadow: none;
}

.rc-input.is-select2:has(.select2-container--focus),
.rc-input.is-select2:has(.select2-container--open) {
    border-color: #20cb78;
    box-shadow: 0 0 0 3px rgba(32, 203, 120, 0.15);
}

.rc-input.is-select2 select.select2-hidden-accessible {
    pointer-events: none !important;
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.rc-input.is-select2 .select2-dropdown {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 100% !important;
    left: 0 !important;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 40px rgba(22, 27, 43, 0.12);
}

.rc-dialog .select2-dropdown {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 40px rgba(22, 27, 43, 0.12);
}

.rc-dialog .select2-container--default .select2-results__option,
.rc-input.is-select2 .select2-container--default .select2-results__option {
    padding: 10px 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 400;
}

.rc-dialog .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.rc-dialog .select2-container--default .select2-results__option--highlighted[aria-selected],
.rc-input.is-select2 .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.rc-input.is-select2 .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #111827 !important;
    color: #fff !important;
}

.rc-dialog .select2-search--dropdown .select2-search__field,
.rc-input.is-select2 .select2-search--dropdown .select2-search__field {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 400;
}

.rc-dialog:has(.select2-container--open),
.rc-dialog:has(.select2-container--open) .rc-shell,
.rc-dialog:has(.select2-container--open) .rc-panel,
.rc-dialog:has(.select2-container--open) .rc-body {
    overflow: visible;
}

.rc-input.is-area {
    align-items: flex-start;
    padding-top: 12px;
    padding-bottom: 28px;
    position: relative;
    min-height: 110px;
}

.rc-input.is-area textarea {
    min-height: 72px;
    resize: vertical;
    line-height: 1.45;
}

.rc-count {
    position: absolute;
    right: 12px;
    bottom: 8px;
    color: #98a2b3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 400;
}

.rc-hint {
    margin: 0;
    color: #98a2b3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}

.rc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rc-stack {
    display: grid;
    gap: 16px;
}

.rc-input > .rc-globe {
    width: 18px;
    height: 18px;
    color: #667085;
    flex: none;
    pointer-events: none;
}

.rc-input.is-select2 > .rc-globe {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 18px;
    height: 18px;
    color: #667085;
    background: transparent;
    pointer-events: none;
}

.rc-input.is-select2:has(> .rc-globe) select {
    padding-left: 40px;
}

.rc-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #eefbf3;
    color: #14352a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.45;
}

.rc-privacy svg {
    width: 18px;
    height: 18px;
    flex: none;
    color: #12b76a;
    margin-top: 1px;
}

.rc-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding: 14px 0 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 28%, #fff 100%);
}

.rc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #161b2b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}

.rc-btn svg {
    width: 16px;
    height: 16px;
}

.rc-btn-primary {
    min-width: min(260px, 100%);
    border-color: #20cb78;
    background: #20cb78;
    color: #fff;
}

.rc-btn-primary:hover {
    background: #1aad6a;
    border-color: #1aad6a;
}

.rc-btn-ghost:hover {
    border-color: #d0d5dd;
    background: #f9fafb;
}

.rc-error {
    margin: 0;
    color: #b42318;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.rc-review-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f0f2f5;
}

.rc-review-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #e8f8ef;
    color: #12b76a;
    display: grid;
    place-items: center;
    flex: none;
}

.rc-review-badge svg {
    width: 20px;
    height: 20px;
}

.rc-review-head strong {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 650;
}

.rc-review-head span {
    color: #667085;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.rc-review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
}

.rc-review-item {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.rc-review-item.is-full {
    grid-column: 1 / -1;
}

.rc-review-item .label {
    color: #98a2b3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 550;
}

.rc-review-item .value {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #161b2b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    word-break: break-word;
}

.rc-review-item .value svg,
.rc-review-item .value .rc-flag {
    width: 16px;
    height: 16px;
    flex: none;
    color: #667085;
    margin-top: 2px;
}

.rc-next {
    border-radius: 14px;
    background: #f4f1ff;
    padding: 14px;
    display: grid;
    gap: 10px;
}

.rc-next-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #5b4cdb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 650;
}

.rc-next-title svg {
    width: 16px;
    height: 16px;
}

.rc-next-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.rc-next-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #475467;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.rc-next-list svg {
    width: 16px;
    height: 16px;
    flex: none;
    color: #12b76a;
    margin-top: 1px;
}

.rc-success {
    text-align: center;
    padding: 8px 8px 4px;
    display: grid;
    justify-items: center;
    gap: 10px;
}

.rc-success h2 {
    margin: 8px 0 0;
    font-family: Manrope, "DM Sans", sans-serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.3;
}

.rc-success .lead {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 650;
    color: #161b2b;
}

.rc-success .copy {
    margin: 0;
    max-width: 36ch;
    color: #667085;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.rc-ref {
    margin-top: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #eefbf3;
    color: #14352a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.rc-ref strong {
    color: #12b76a;
}

.rc-panel[hidden],
.rc-field[hidden] {
    display: none !important;
}

@media (max-width: 720px) {
    .rc-dialog {
        width: min(100% - 16px, 720px);
        border-radius: 18px;
    }

    .rc-shell {
        border-radius: 18px;
    }

    .rc-top,
    .rc-body {
        padding-left: 14px;
        padding-right: 14px;
    }

    .rc-stepper {
        margin-left: 14px;
        margin-right: 14px;
    }

    .rc-stepper .rc-label {
        display: none;
    }

    .rc-hero {
        grid-template-columns: 1fr;
    }

    .rc-benefits {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0;
        padding: 10px 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .rc-benefits li {
        padding: 0 10px;
        font-size: 11px;
    }

    .rc-art {
        width: 100px;
        height: 100px;
        justify-self: start;
    }

    .rc-art.is-mail {
        width: 120px;
        height: 120px;
        justify-self: center;
    }

    .rc-body {
        padding-bottom: 8px;
    }

    .rc-actions {
        padding-bottom: max(14px, env(safe-area-inset-bottom));
    }

    .rc-kind-options,
    .rc-grid,
    .rc-review-grid {
        grid-template-columns: 1fr;
    }

    .rc-actions {
        flex-direction: column-reverse;
    }

    .rc-btn,
    .rc-btn-primary {
        width: 100%;
    }

    .rc-next-list {
        gap: 10px;
    }
}
