.spi-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.spi-message {
    color: rgb(105, 115, 134);
    font-size: 16px;
    line-height: 20px;
    padding-top: 12px;
    text-align: center;
}

.spi-button {
    background: #5469d4;
    color: #ffffff;
    border-radius: 4px;
    border: 0;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    width: 100%;
    margin-top: 24px;
    transition: all 0.2s ease;
}

.spi-button:hover {
    background: #4054b2;
}

.spi-button:disabled {
    opacity: 0.5;
    cursor: default;
}

.spinner {
    color: #ffffff;
    font-size: 22px;
    text-indent: -2em;
    margin: 0 auto;
    position: relative;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

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

.hidden {
    display: none;
}

#payment-element {
    margin-bottom: 24px;
    padding: 24px;
    border: 1px solid #e6ebf1;
    border-radius: 4px;
    background: #ffffff;
}

/* Error states */
.spi-message.error {
    color: rgb(105, 115, 134);
    background-color: #fff0f0;
    padding: 12px;
    border-radius: 4px;
    margin-top: 12px;
}

/* Success states */
.spi-message.success {
    color: #0a2540;
    background-color: #e6f4ea;
    padding: 12px;
    border-radius: 4px;
    margin-top: 12px;
} 