.px-payment-modal {
    max-width: 820px;
}

.px-payment-modal .modal-form-grid {
    gap: 14px 16px;
}

.px-payment-panel {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px dashed rgba(96, 165, 250, .35);
    background: rgba(59, 130, 246, .06);
}

.px-multi-month-panel {
    background: rgba(255, 255, 255, .02);
    border-color: rgba(148, 163, 184, .28);
}

.px-repeat-panel {
    background: rgba(99, 102, 241, .08);
    border-color: rgba(129, 140, 248, .35);
}

.px-payment-panel-head {
    margin-bottom: 0;
}

.px-payment-panel-body {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.px-payment-panel-body[hidden] {
    display: none !important;
}

.px-panel-help {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .55);
}

.px-quick-select {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.px-quick-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    margin-right: 4px;
}

.px-quick-select .btn-outline {
    background: transparent;
    border: 1px solid rgba(59, 130, 246, .45);
    color: #93c5fd;
}

.px-quick-select .btn-outline:hover {
    background: rgba(59, 130, 246, .12);
}

.px-quick-select .btn-outline-danger {
    border-color: rgba(248, 113, 113, .45);
    color: #fca5a5;
}

.px-month-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px 10px;
}

.px-month-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(0, 0, 0, .15);
    cursor: pointer;
    font-size: 13px;
    color: rgba(255, 255, 255, .82);
    margin: 0;
}

.px-month-check input {
    accent-color: var(--px-cor, #FF5A5F);
}

.px-month-check:has(input:checked) {
    border-color: rgba(255, 90, 95, .45);
    background: rgba(255, 90, 95, .1);
}

.px-repeat-grid {
    margin-bottom: 14px;
}

.px-sms-panel {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, .22);
    background: rgba(15, 23, 42, .35);
}

.px-sms-head {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #bfdbfe;
    background: rgba(59, 130, 246, .16);
    border-bottom: 1px solid rgba(59, 130, 246, .18);
}

.px-sms-head i {
    margin-right: 8px;
}

.px-sms-body {
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 14px;
    align-items: end;
}

.px-sms-toggle {
    align-self: center;
}

.px-toggle-field {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.px-toggle-field input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.px-toggle-ui {
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .35);
    position: relative;
    flex-shrink: 0;
    transition: background .2s ease;
}

.px-toggle-ui::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s ease;
}

.px-toggle-field input:checked + .px-toggle-ui {
    background: var(--px-cor, #FF5A5F);
}

.px-toggle-field input:checked + .px-toggle-ui::after {
    transform: translateX(20px);
}

.px-toggle-label {
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    line-height: 1.4;
}

.px-toggle-label small {
    display: inline;
    color: rgba(255, 255, 255, .45);
    font-size: 12px;
    font-weight: 400;
    margin-left: 4px;
}

.px-toggle-label i {
    margin-right: 6px;
    color: var(--px-cor, #FF5A5F);
}

.px-payment-modal textarea {
    min-height: 88px;
    resize: vertical;
}

.px-payment-modal .req {
    color: #f87171;
}

.px-payment-modal .form-hint {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, .42);
}

@media (max-width: 768px) {
    .px-month-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .px-sms-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .px-month-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
