.tsc-rr-card,
.tsc-rr-notice {
    box-sizing: border-box;
    font-family: inherit;
}

.tsc-rr-card * {
    box-sizing: border-box;
}

.tsc-rr-card {
    --tsc-rr-primary: #e7ad00;
    --tsc-rr-dark: #111111;
    --tsc-rr-green: #165b35;
    width: min(100%, 720px);
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.20);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.tsc-rr-event-head {
    position: relative;
    padding: 30px 38px 24px;
    background: linear-gradient(135deg, var(--tsc-rr-primary), #ffcf2e 48%, #1e7a45 100%);
    color: #111111;
}

.tsc-rr-event-head:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 18%, rgba(255,255,255,.28), transparent 34%);
    pointer-events: none;
}

.tsc-rr-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 6px 12px;
    background: rgba(0,0,0,.78);
    color: #ffffff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.tsc-rr-event-head h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.1;
    font-weight: 900;
    color: #111111;
}

.tsc-rr-event-head p {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 620px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

.tsc-rr-price-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 38px;
    background: #111111;
    color: #ffffff;
}

.tsc-rr-price-strip span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #f7d45b;
}

.tsc-rr-price-strip strong {
    font-size: 17px;
    font-weight: 900;
    color: #ffffff;
}

.tsc-rr-form-title {
    margin: 0 0 24px;
    text-align: center;
    font-size: 28px;
    line-height: 1.2;
}

.tsc-rr-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 38px;
    background: #ffffff;
}

.tsc-rr-grid {
    display: grid;
    gap: 14px;
}

.tsc-rr-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tsc-rr-field {
    display: block;
    width: 100%;
    margin: 0;
}

.tsc-rr-label {
    display: block;
    margin: 0 0 7px;
    color: #111111;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tsc-rr-field input,
.tsc-rr-field select {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid #dedede;
    border-radius: 6px;
    background: #ffffff;
    color: #1e1e1e;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: none;
    outline: none;
}

.tsc-rr-field input::placeholder {
    color: #777777;
    opacity: 1;
}

.tsc-rr-field select {
    cursor: pointer;
    appearance: auto;
}

.tsc-rr-field input:focus,
.tsc-rr-field select:focus {
    border-color: var(--tsc-rr-primary);
    box-shadow: 0 0 0 3px rgba(231, 173, 0, 0.22);
}

.tsc-rr-attendee-row {
    align-items: stretch;
}

.tsc-rr-quantity-field,
.tsc-rr-total-field {
    min-height: 92px;
    padding: 16px;
    background: #f8f8f8;
    border: 1px solid #eeeeee;
    border-radius: 10px;
}

.tsc-rr-quantity-field input {
    min-height: 46px;
    font-weight: 800;
    text-align: center;
}

.tsc-rr-total-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tsc-rr-total-field strong {
    display: block;
    margin: 0 0 4px;
    color: #111111;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 900;
}

.tsc-rr-total-field small {
    color: #656565;
    font-size: 12px;
    line-height: 1.4;
}

.tsc-rr-submit {
    width: 100%;
    min-height: 54px;
    border: none;
    border-radius: 6px;
    background: var(--tsc-rr-primary);
    color: #000000;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(231, 173, 0, .24);
}

.tsc-rr-submit:hover,
.tsc-rr-submit:focus {
    filter: brightness(0.97);
    transform: translateY(-1px);
    box-shadow: 0 13px 26px rgba(231, 173, 0, .30);
}

.tsc-rr-secure-note {
    margin: -4px 0 0;
    color: #555555;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.tsc-rr-notice {
    width: min(100%, 720px);
    margin: 0 auto 18px;
    padding: 14px 18px;
    border-radius: 6px;
    background: #f6f7f7;
    color: #1e1e1e;
    border-left: 4px solid #2271b1;
}

.tsc-rr-success {
    border-left-color: #00a32a;
    background: #f0fff4;
}

.tsc-rr-error {
    border-left-color: #d63638;
    background: #fff5f5;
}

.tsc-rr-info {
    border-left-color: #2271b1;
}

@media (max-width: 767px) {
    .tsc-rr-card {
        border-radius: 14px;
    }

    .tsc-rr-event-head,
    .tsc-rr-form {
        padding: 28px 22px;
    }

    .tsc-rr-price-strip {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 22px;
    }

    .tsc-rr-grid-two {
        grid-template-columns: 1fr;
    }

    .tsc-rr-form {
        gap: 16px;
    }
}
