.sam-alma-widget {
    max-width: 600px;
    margin: 30px auto;
    padding: 24px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.sam-alma-header {
    margin-bottom: 20px;
}

.sam-alma-header h3 {
    margin: 0 0 8px;
    color: #FF6B35;
    font-size: 22px;
    font-weight: 700;
}

.sam-alma-header p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.sam-alma-container {
    margin: 20px 0;
    min-height: 100px;
}

.sam-alma-actions {
    margin-top: 20px;
}

.sam-alma-pay-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #FF6B35;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.sam-alma-pay-btn:hover {
    background: #e55a25;
    transform: translateY(-1px);
}

.sam-alma-pay-btn:active {
    transform: translateY(0);
}

.sam-alma-pay-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.sam-alma-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    color: #666;
    font-size: 14px;
}

.sam-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #e0e0e0;
    border-top-color: #FF6B35;
    border-radius: 50%;
    animation: sam-spin 0.6s linear infinite;
}

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

.sam-alma-success {
    padding: 20px;
    background: #e8f5e9;
    border-radius: 8px;
    color: #2e7d32;
    font-weight: 600;
    font-size: 16px;
}

.sam-alma-error {
    padding: 20px;
    background: #fce4ec;
    border-radius: 8px;
    color: #c62828;
    font-weight: 600;
    font-size: 16px;
}

.sam-qr-wrapper {
    text-align: center;
    margin: 20px 0;
}

.sam-qr-wrapper img {
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 4px;
    background: #fff;
}

.sam-qr-wrapper p {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

@media (max-width: 600px) {
    .sam-alma-widget {
        margin: 20px 0;
        padding: 16px;
    }

    .sam-alma-pay-btn {
        padding: 12px 30px;
        font-size: 16px;
        width: 100%;
    }
}
