.sot-commit-form {
    max-width: 680px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: #1a1a2e;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
}

.sot-commit-form h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 4px 0;
    color: #1a1a2e;
}

.sot-commit-form .sot-commit-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 32px 0;
}

.sot-commit-step {
    display: none;
}

.sot-commit-step.active {
    display: block;
}

.sot-commit-field {
    margin-bottom: 20px;
}

.sot-commit-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sot-commit-field input[type="text"],
.sot-commit-field input[type="email"],
.sot-commit-field input[type="tel"],
.sot-commit-field select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #1a1a2e;
    background: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.sot-commit-field input:focus,
.sot-commit-field select:focus {
    border-color: #7500cc;
    box-shadow: 0 0 0 4px rgba(117, 0, 204, 0.1);
    background: #fff;
}

.sot-commit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Tier selection cards */
.sot-commit-tiers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.sot-commit-tier-option {
    position: relative;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: #f9fafb;
}

.sot-commit-tier-option:hover {
    border-color: #c084fc;
    background: #faf5ff;
}

.sot-commit-tier-option.selected {
    border-color: #7500cc;
    background: #faf5ff;
    box-shadow: 0 0 0 4px rgba(117, 0, 204, 0.1);
}

.sot-commit-tier-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.sot-commit-tier-label {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
}

.sot-commit-tier-price {
    font-size: 18px;
    font-weight: 800;
    color: #7500cc;
    margin-top: 2px;
}

.sot-commit-tier-installment {
    font-size: 11px;
    color: #7500cc;
    background: rgba(117, 0, 204, 0.08);
    padding: 2px 8px;
    border-radius: 100px;
    display: inline-block;
    margin-top: 4px;
}

/* Installment selector */
.sot-commit-installments {
    display: none;
    margin-bottom: 24px;
}

.sot-commit-installments.visible {
    display: block;
}

.sot-commit-installment-options {
    display: flex;
    gap: 8px;
}

.sot-commit-installment-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s;
}

.sot-commit-installment-btn:hover {
    border-color: #c084fc;
}

.sot-commit-installment-btn.selected {
    border-color: #7500cc;
    background: #faf5ff;
    color: #7500cc;
}

.sot-commit-installment-btn small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #6b7280;
    margin-top: 2px;
}

/* Payment method */
.sot-commit-payment-methods {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.sot-commit-payment-method {
    flex: 1;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #f9fafb;
}

.sot-commit-payment-method:hover {
    border-color: #c084fc;
}

.sot-commit-payment-method.selected {
    border-color: #7500cc;
    background: #faf5ff;
}

.sot-commit-payment-method input[type="radio"] {
    display: none;
}

.sot-commit-payment-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.sot-commit-payment-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

/* Stripe element */
#sot-stripe-element {
    padding: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    margin-bottom: 24px;
    min-height: 44px;
}

/* Checkboxes */
.sot-commit-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.sot-commit-checkbox input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: #7500cc;
}

.sot-commit-checkbox label {
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

/* Buttons */
.sot-commit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    margin-top: 8px;
}

.sot-commit-btn-primary {
    background: #7500cc;
    color: #fff;
}

.sot-commit-btn-primary:hover {
    background: #5a0099;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(117, 0, 204, 0.3);
}

.sot-commit-btn-primary:disabled {
    background: #c084fc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.sot-commit-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.sot-commit-btn-secondary:hover {
    background: #e5e7eb;
}

.sot-commit-nav-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.sot-commit-nav-row .sot-commit-btn {
    margin-top: 0;
}

/* Summary */
.sot-commit-summary {
    background: #f9fafb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
}

.sot-commit-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.sot-commit-summary-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 16px;
    padding-top: 12px;
    color: #7500cc;
}

/* Messages */
.sot-commit-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

.sot-commit-success {
    text-align: center;
    padding: 40px 20px;
}

.sot-commit-success-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.sot-commit-success h3 {
    font-size: 28px;
    font-weight: 800;
    color: #16a34a;
    margin: 0 0 12px 0;
}

.sot-commit-success p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

/* Spinner */
.sot-commit-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sot-spin 0.6s linear infinite;
}

@keyframes sot-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .sot-commit-form {
        padding: 32px 20px;
    }
    .sot-commit-tiers {
        grid-template-columns: 1fr;
    }
    .sot-commit-row {
        grid-template-columns: 1fr;
    }
    .sot-commit-installment-options {
        flex-wrap: wrap;
    }
}
