.sponsorship-section {
    padding: 28px 0 45px;
    background: #fff;
    position: relative
}
.sponsorship-container {
    width: min(1163px, calc(100% - 30px));
    margin: 0 auto;
}

.sponsorship-header {
    display: none
}

.sponsorship-card {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    box-shadow: 0 7px 24px rgba(0, 0, 0, .06);
    overflow: hidden
}

.sponsorship-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 15px;
    border-bottom: 1px solid #e5e5e5;
    background: #fff
}

.sponsorship-card-header h2 {
    margin: 0 0 3px;
    font-size: 22px;
    font-weight: 800;
    color: #171717;
    text-transform: uppercase;
    letter-spacing: .1px
}

.sponsorship-card-header h2 i {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    border-radius: 5px;
    background: #6C3FA0;
    color: #fff;
    font-size: 11px;
    vertical-align: middle
}

.sponsorship-card-header p {
    margin: 0 0 0 34px;
    color: #777;
    font-size: 13px;
    line-height: 1.4
}

.required {
    color: #CE2029
}

.guide-download {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 11px;
    border: 1px solid #6C3FA0;
    border-radius: 5px;
    color: #6C3FA0;
    background: #fff;
    text-decoration: none;
    font-size: 19px;
    font-weight: 700;
    white-space: nowrap;
    transition: .2s;
}

.guide-download:hover {
    background: #6C3FA0;
    color: #fff
}

#sponsorshipForm {
    display: block
}

.sponsorship-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 11px 15px 10px;
    border-bottom: 1px solid #e5e5e5;
    background: #fff
}

.sponsorship-section-title>span {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #6C3FA0;
    color: #fff;
    font-size: 10px;
    font-weight: 800
}

.sponsorship-section-title h3 {
    margin: 0 0 2px;
    color: #171717;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase
}

.sponsorship-section-title p {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 1.35;
}

.sponsorship-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 13px 15px 8px
}

.sponsorship-field {
    display: flex;
    flex-direction: column;
    min-width: 0
}

.sponsorship-field label {
    margin: 0 0 4px;
    color: #171717;
    font-size: 13px;
    font-weight: 700
}

.sponsorship-control {
    width: 100%;
    height: 32px;
    padding: 0 9px;
    border: 1px solid #cfd4dc;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    transition: .2s
}

.sponsorship-control::placeholder {
    color: #a1a6ad
}

.sponsorship-control:focus {
    border-color: #CE2029;
    box-shadow: 0 0 0 2px rgba(206, 32, 41, .08)
}

.sponsorship-control.is-invalid {
    border-color: #CE2029
}

.sponsorship-error {
    min-height: 10px;
    margin-top: 2px;
    color: #CE2029;
    font-size: 13px;
    line-height: 1.2
}

.sponsorship-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 15px 5px
}

.sponsor-package {
    position: relative;
    display: block;
    cursor: pointer
}

.sponsor-package input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.package-content {
    min-height: 78px;
    padding: 12px 13px;
    border: 1px solid #cfd4dc;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
    transition: .2s
}

.sponsor-package:hover .package-content {
    border-color: #6C3FA0
}

.sponsor-package input:checked+.package-content {
    border: 1px solid #6C3FA0;
    background: #fff7f7;
    box-shadow: 0 4px 14px rgba(206, 32, 41, .09)
}

.package-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px
}

.package-name {
    font-size: 13px;
    font-weight: 800;
    color: #222
}

.package-check {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd0d8;
    border-radius: 50%;
    color: transparent;
    font-size: 13px;
    flex: 0 0 14px
}

.sponsor-package input:checked+.package-content .package-check {
    border-color: #6C3FA0;
    background: #6C3FA0;
    color: #fff
}

.package-price {
    display: block;
    margin-top: 10px;
    color: #6C3FA0;
    font-size: 15px;
    font-weight: 800
}

.package-description {
    display: block;
    margin-top: 2px;
    color: #777;
    font-size: 13px;
    line-height: 1.3
}

#sponsorship_type_error {
    display: block;
    padding: 0 15px 7px
}

.sponsorship-upload {
    margin: 11px 15px 14px;
    padding: 16px;
    border: 1px dashed #cbd0d8;
    border-radius: 5px;
    background: #fafafa;
    text-align: center
}

.sponsorship-upload label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer
}

.sponsorship-upload label i {
    margin-bottom: 7px;
    color: #6C3FA0;
    font-size: 21px
}

.sponsorship-upload label strong {
    color: #222;
    font-size: 13px
}

.sponsorship-upload label span {
    margin-top: 4px;
    color: #888;
    font-size: 13px;
    line-height: 1.5
}

.sponsorship-upload input {
    display: none
}

.file-name {
    display: block;
    margin-top: 7px;
    color: #777;
    font-size: 13px
}

.promo-section {
    padding: 11px 15px 14px;
    border-bottom: 1px solid #e5e5e5
}

.promo-checkbox {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    color: #222;
    font-size: 13px;
    font-weight: 700
}

.promo-checkbox input {
    width: 13px;
    height: 13px;
    margin: 0;
    accent-color: #6C3FA0
}

.promo-input-row {
    display: flex;
    margin-top: 8px
}

.promo-input-row .sponsorship-control {
    height: 31px;
    border-radius: 4px 0 0 4px
}

.promo-btn {
    min-width: 70px;
    border: 0;
    border-radius: 0 4px 4px 0;
    background: #6C3FA0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer
}

.promo-btn:disabled {
    opacity: .65;
    cursor: not-allowed
}

.coupon-message {
    margin-top: 5px;
    font-size: 13px
}

.coupon-success {
    color: #198754
}

.coupon-error {
    color: #CE2029
}

.payment-order-summary {
    padding: 12px 15px 0
}

.payment-order-summary .summary-card {
    padding: 0;
    border: 1px solid #dfe2e7;
    border-radius: 5px;
    background: #fff;
    color: #222;
    box-shadow: none;
    overflow: hidden
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 10px;
    border-bottom: 1px solid #e4e4e4;
    background: #fafafa;
    color: #222;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase
}

.summary-header i {
    color: #6C3FA0;
    font-size: 12px
}

.summary-package {
    padding: 8px 10px;
    border-bottom: 1px solid #e4e4e4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.summary-label {
    color: #777;
    font-size: 13px
}

.summary-package strong {
    color: #6C3FA0;
    font-size: 13px
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    border-bottom: 1px solid #e8e8e8;
    color: #666;
    font-size: 13px
}

.summary-line strong {
    color: #222;
    font-size: 13px
}

.summary-divider {
    display: none
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    color: #222
}

.summary-total span {
    font-size: 13px;
    font-weight: 800
}

.summary-total strong {
    color: #6C3FA0;
    font-size: 13px
}

.summary-security {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-top: 1px solid #e4e4e4;
    background: #fafafa;
    color: #888;
    font-size: 13px
}

.summary-security i {
    color: #6C3FA0
}

.sponsorship-summary,
.sponsorship-note {
    display: none
}

.stripe-payment-box {
    padding: 11px 15px 0;
    background: #fff
}

.stripe-field {
    margin-bottom: 9px
}

.stripe-field label {
    display: block;
    margin-bottom: 4px;
    color: #171717;
    font-size: 13px;
    font-weight: 700
}

.stripe-element {
    min-height: 32px;
    padding: 8px 9px;
    border: 1px solid #cfd4dc;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box
}

.stripe-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.stripe-error,
.payment-error {
    margin: 5px 15px 0;
    color: #CE2029;
    font-size: 13px
}

.sponsorship-submit {
    width: calc(100% - 30px);
    min-height: 34px;
    margin: 11px 15px 5px;
    border: 0;
    border-radius: 4px;
    background: #6C3FA0;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s
}

.sponsorship-submit:hover {
    background:green
}

.sponsorship-submit:disabled {
    opacity: .7;
    cursor: not-allowed
}

.sponsorship-submit i {
    margin-left: 6px
}

.sponsorship-security {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 10px 15px 15px;
    padding: 10px 11px;
    border: 1px solid #eadbdd;
    border-radius: 6px;
    background: #fffafa
}

.sponsorship-security-icon {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #6C3FA0;
    border-radius: 50%;
    color: #6C3FA0;
    font-size: 13px;
    flex: 0 0 25px
}

.sponsorship-security h3 {
    margin: 0 0 2px;
    color: #6C3FA0;
    font-size: 13px;
    font-weight: 800
}

.sponsorship-security p {
    margin: 0;
    color: #888;
    font-size: 13px
}

@media(max-width:767px) {
    .sponsorship-section {
        padding: 15px 0 30px
    }

    .sponsorship-container {
        width: calc(100% - 16px)
    }

    .sponsorship-card-header {
        align-items: flex-start;
        flex-direction: column
    }

    .sponsorship-card-header p {
        margin-left: 0
    }

    .sponsorship-form-grid {
        grid-template-columns: 1fr;
        gap: 9px
    }

    .sponsorship-category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }

    .stripe-two-column {
        grid-template-columns: 1fr
    }

    .guide-download {
        align-self: flex-start
    }

    .package-content {
        min-height: 72px
    }
}

@media(max-width:430px) {
    .sponsorship-category-grid {
        grid-template-columns: 1fr
    }

    .sponsorship-card-header h2 {
        font-size: 11px
    }

    .sponsorship-section-title h3 {
        font-size: 10px
    }
}
