/* Base styles for the success container inside the template */
.solu-success-container {
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: center;
    border: 1px solid #e5e7eb;
}

.solu-success-container h2 {
    color: #111827;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.solu-code-display {
    background: #f9fafb;
    padding: 24px;
    border-radius: 8px;
    margin: 20px 0;
    border: 2px dashed #6366f1;
    display: inline-block;
    min-width: 250px;
}

.solu-code-display code {
    font-family: 'JetBrains Mono', 'Monaco', 'Consolas', monospace;
    font-size: 36px;
    color: #4f46e5;
    letter-spacing: 4px;
    font-weight: 800;
}

.solu-status-active {
    color: #10b981;
    font-weight: 600;
}

.solu-info {
    color: #6b7280;
    font-size: 14px;
    margin-top: 20px;
}

.solu-error {
    background: #fff1f2;
    color: #be123c;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
}

/* Loading state for buttons */
.stripe-checkout-btn.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

/* Template-specific enhancements if needed */
.success-card-container .solu-success-container {
    box-shadow: none;
    /* Shadow is handled by the template card or not needed */
    border: none;
    background: transparent;
}

/* Waiting state styles */
.solu-waiting-container {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.solu-loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f4f6;
    border-top: 5px solid #6366f1;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: solu-spin 1s linear infinite;
}

@keyframes solu-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.solu-waiting-container h2 {
    color: #111827;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 700;
}

.solu-waiting-container p {
    color: #6b7280;
    font-size: 16px;
}