.rnm .modal-dialog {
    max-width: 440px;
}

.rnm-content {
    position: relative;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
    overflow: hidden;
}

.rnm-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: 0;
    padding: 4px;
    line-height: 0;
    cursor: pointer;
    z-index: 2;
}

.rnm-body {
    padding: 22px 22px 22px;
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.rnm-kicker {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 800;
    color: #d42b65;
}

.rnm-title {
    font-size: 22px;
    font-weight: 800;
    color: #16202b;
    margin: 6px 0 2px;
}

.rnm-sub {
    font-size: 13.5px;
    color: #697587;
    margin: 0 0 4px;
}

.rnm-item {
    display: flex;
    gap: 11px;
    align-items: center;
    margin: 16px 0;
    padding: 11px 12px;
    background: #f7f8fa;
    border: 1px solid #e7eaef;
    border-radius: 12px;
}

.rnm-item .rnm-thumb {
    width: 44px;
    height: 44px;
    border-radius: 9px;
    overflow: hidden;
    flex: none;
    background: linear-gradient(135deg, #2c3e54, #16263c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.rnm-item .rnm-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rnm-item-info {
    min-width: 0;
    flex: 1;
}

.rnm-item-name {
    font-weight: 700;
    font-size: 14px;
    color: #16202b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rnm-item-meta {
    font-size: 12px;
    color: #697587;
}

.rnm-item-price {
    margin-left: auto;
    font-weight: 800;
    font-size: 14px;
    color: #16202b;
    white-space: nowrap;
}

.rnm-item-price span {
    font-weight: 500;
    font-size: 12px;
    color: #697587;
}

.rnm-field {
    margin-bottom: 13px;
}

.rnm-field label {
    display: block;
    font-size: 11.5px;
    letter-spacing: .4px;
    text-transform: uppercase;
    font-weight: 700;
    color: #697587;
    margin-bottom: 6px;
}

.rnm-field input {
    width: 100%;
    border: 1px solid #e7eaef;
    border-radius: 10px;
    padding: 12px 13px;
    font-size: 14.5px;
    color: #16202b;
    font-family: inherit;
    background: #fff;
}

.rnm-field input:focus {
    outline: none;
    border-color: #d42b65;
    box-shadow: 0 0 0 3px rgba(212, 43, 101, .12);
}

.rnm-field input[readonly] {
    background: #f7f8fa;
    color: #404959;
    cursor: default;
}

.rnm-field input.rnm-invalid {
    border-color: #d43a3a;
}

.rnm-field input.rnm-invalid:focus {
    border-color: #d43a3a;
    box-shadow: 0 0 0 3px rgba(212, 58, 58, .12);
}

.rnm-field-error {
    margin-top: 5px;
    font-size: 12.5px;
    color: #d43a3a;
}

.rnm-browse {
    margin-top: 18px;
}

.rnm-browse-label {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 700;
    color: #697587;
    margin-bottom: 10px;
}

.rnm-browse-btn {
    margin-top: 12px;
}

.rnm-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.rnm-plan-chip {
    border: 1px solid #e7eaef;
    background: #fff;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    transition: .12s;
}

.rnm-plan-emoji {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
}

.rnm-plan-title {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #16202b;
    line-height: 1.2;
}

.rnm-plan-sub {
    display: block;
    font-size: 11px;
    color: #888d98;
    margin-top: 2px;
}

.rnm-plan-chip:hover {
    border-color: #eeaac1;
}

.rnm-plan-chip.sel {
    border-color: #d42b65;
    background: #fff0f4;
}

.rnm-plan-chip.sel .rnm-plan-title {
    color: #cf2f5e;
}

.rnm-error {
    background: #fdecec;
    border: 1px solid #f5c2c2;
    color: #b02a2a;
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 13px;
    margin: 4px 0 12px;
}

.rnm-btn {
    width: 100%;
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 15.5px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.25;
    margin-top: 12px;
}

.rnm-btn-primary {
    border: 0;
    background: #d42b65;
    color: #fff;
    box-shadow: 0 6px 18px rgba(212, 43, 101, .32);
}

.rnm-btn-primary:hover {
    background: #bb234f;
}

.rnm-btn-primary:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.rnm-btn-outline {
    display: block;
    text-align: center;
    text-decoration: none;
    border: 1.5px solid #d42b65;
    background: #fff;
    color: #d42b65;
    margin-top: 10px;
}

.rnm-btn-outline:hover {
    background: #fff0f4;
    color: #d42b65;
}

.rnm-nopay {
    text-align: center;
    font-size: 12.5px;
    color: #d42b65;
    font-weight: 600;
    margin: 11px 0 0;
}

.rnm-fine {
    text-align: center;
    font-size: 11.5px;
    color: #888d98;
    margin: 8px 0 0;
}

.rnm-fine a {
    color: #d42b65;
    text-decoration: none;
}

.rnm-sent {
    text-align: center;
    padding-top: 30px;
}

.rnm-cancel-note {
    text-align: center;
    font-size: 12.5px;
    color: #888d98;
    margin: 12px 0 0;
}

.rnm-cancel-note a {
    color: #d42b65;
    font-weight: 600;
    text-decoration: none;
}

.rnm-cancel-note a:hover {
    text-decoration: underline;
}

.rnm-ring {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #F6D5E0;
    border: 1px solid #F6D5E0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.rnm-timeline {
    text-align: left;
    background: #f7f8fa;
    border: 1px solid #e7eaef;
    border-radius: 12px;
    padding: 14px 16px;
    margin: 20px auto 0;
    max-width: 360px;
}

.rnm-tl {
    display: flex;
    gap: 11px;
    padding: 7px 0;
    font-size: 13px;
    align-items: center;
}

.rnm-tl .rnm-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    margin-top: 1px;
}

.rnm-tl .rnm-dot.done {
    background: #d42b65;
    color: #fff;
}

.rnm-tl .rnm-dot.now {
    background: #fff;
    border: 1px solid #d42b65;
    color: #d42b65;
}

.rnm-tl .rnm-dot.next {
    background: #fff;
    border: 1px solid #CFD1D6;
    color: #888D98;
}

.rnm-tl b {
    display: block;
    color: #16202b;
}

.rnm-tl span {
    color: #697587;
}
