.danson-payment-container {
    max-width: 450px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.danson-payment-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.danson-payment-form-wrapper h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #1a1f36;
    text-align: center;
}

.danson-amount {
    font-size: 32px;
    font-weight: 700;
    color: #6366f1;
    text-align: center;
    margin-bottom: 30px;
}

.danson-form-row {
    margin-bottom: 20px;
}

.danson-form-row label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #4f566b;
}

.danson-form-row input,
.danson-input-container {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background: white;
}

.danson-form-row-group {
    display: flex;
    gap: 20px;
}

.danson-form-row-group .danson-form-row {
    flex: 1;
}

.danson-form-row input:focus,
.danson-input-container.StripeElement--focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

#card-errors {
    color: #df1b41;
    font-size: 14px;
    margin-top: 8px;
    min-height: 20px;
}

#danson-submit-button {
    width: 100%;
    background: #6366f1;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

#danson-submit-button:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

#danson-submit-button:active {
    transform: translateY(0);
}

#danson-submit-button:disabled {
    background: #aab7c4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#payment-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

#payment-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

#payment-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.hidden {
    display: none !important;
}

/* Spinner */
.danson-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: danson-spin 1s ease-in-out infinite;
}

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

/* Admin Status Badges */
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-succeeded {
    background: #d1fae5;
    color: #065f46;
}

.status-failed {
    background: #fee2e2;
    color: #991b1b;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}
