/* SVS Gift Card Balance Checker Styles */

#svs-gift-card-container {
    width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.svs-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.svs-header {
    text-align: center;
    margin-bottom: 40px;
}

.svs-title {
    font-size: 36px;
}

.svs-subtitle {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
}

.svs-form-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.svs-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.svs-form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-align: left;
}

.svs-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.svs-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 70, 166, 0.1);
}

.svs-error {
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

/* .svs-submit-btn {
    background: linear-gradient(135deg, #d946a6 0%, #9333ea 100%);
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
} */

/* .svs-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 70, 166, 0.3);
} */

.svs-submit-btn:active {
    transform: translateY(0);
}

.svs-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.svs-success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    color: white;
    font-size: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.svs-result-title {
    text-align: center;
    color: #1f2937;
    font-size: 32px;
    margin: 0 0 32px 0;
}

.svs-balance-card {
    color: white;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}

.svs-card-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 14px;
    opacity: 0.9;
}

.svs-balance-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    font-weight: bold;
    margin: 24px 0;
}

.svs-currency {
    font-size: 32px;
    margin-right: 8px;
}

.svs-balance-label {
    text-align: center;
    font-size: 14px;
    opacity: 0.9;
    font-weight: bold;
}

.svs-card-expiry {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    opacity: 0.85;
}

.svs-transactions {
    margin-bottom: 24px;
}

.svs-transactions h3 {
    font-size: 18px;
    color: #1f2937;
    margin: 0 0 16px 0;
}

.svs-transaction-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.svs-transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.svs-transaction-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.svs-transaction-desc {
    font-weight: 500;
    color: #1f2937;
}

.svs-transaction-date {
    font-size: 14px;
    color: #6b7280;
}

.svs-transaction-amount {
    font-weight: 600;
    font-size: 16px;
}

.svs-transaction-amount.positive {
    color: #10b981;
}

.svs-transaction-amount.negative {
    color: #ef4444;
}

.svs-secondary-btn {
    width: 100%;
    background: #6b7280;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.svs-secondary-btn:hover {
    background: #4b5563;
}

/* Loading state */
.svs-loading {
    position: relative;
    pointer-events: none;
}

.svs-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: svs-spin 0.6s linear infinite;
}

.site-id-1 .svs-input:focus {
    border-color: #08616a;
}

.site-id-1 .svs-error {
    border: 1px solid #0b818e;
    color: #08616a;
}

.site-id-1 .svs-balance-card {
    background: linear-gradient(135deg, #49bfcc 0%, #0b818e 100%);
}

.site-id-2 .svs-input:focus {
    border-color: #79094a;
}

.site-id-2 .svs-error {
    border: 1px solid #8e0b57;
    color: #79094a;
}

.site-id-2 .svs-balance-card {
    background: linear-gradient(135deg, #f31797 0%, #8e0b57 100%);
}

.site-id-3 .svs-input:focus {
    border-color: #994343;
}

.site-id-3 .svs-error {
    border: 1px solid #e53b49;
    color: #994343;
}

.site-id-3 .svs-balance-card {
    background: linear-gradient(135deg, #ea5e6a 0%, #e53b49 100%);
}

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

/* Responsive */
@media (max-width: 640px) {
    #svs-gift-card-container {
        padding: 10px;
        width: 100%;
    }

    .svs-card {
        padding: 24px;
    }

    .svs-title {
        font-size: 36px;
    }

    .svs-balance-amount {
        font-size: 42px;
    }
}