﻿* {
    box-sizing: border-box;
}

.nvonvusv454 {
    width: 100%;
    display:flex;
    justify-content:center;
    background-color: white;
/*    padding: 5px;*/
    min-height: 100vh;
}

.container {
    max-width: 600px;
    padding: 5px;
    background-color:white;
}

.header {
    text-align: center;
/*    color: white;*/
    padding: 10px 0;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 24px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 20px 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Bank Info */
.bank-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 15px;
    color: white;
    margin-bottom: 15px;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.bank-label {
    opacity: 0.9;
}

.bank-value {
    font-weight: 600;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-hint {
    font-size: 12px;
    color: #6c757d;
    margin-top: 6px;
}

.btn-generate {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-generate:active {
    transform: scale(0.98);
}

.btn-generate:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* QR Result */
.qr-result {
    display: none;
    animation: slideIn 0.3s ease-out;
}

.qr-result.show {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.qr-wrapper {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin-bottom: 15px;
}

.qr-image {
    max-width: 100%;
    width: 280px;
    height: auto;
    background: white;
    padding: 10px;
    border-radius: 8px;
    margin: 10px auto;
}

.qr-instruction {
    color: white;
    font-size: 14px;
    margin-top: 12px;
}

.payment-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    color: #6c757d;
}

.detail-value {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.amount-highlight {
    font-size: 20px;
    color: #28a745;
}

.copy-btn {
    padding: 4px 10px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 8px;
}

.copy-btn.copied {
    background: #28a745;
}

.btn-new-qr {
    width: 100%;
    padding: 12px;
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    display: none;
}

.error-message.show {
    display: block;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #667eea;
    font-size: 14px;
    display: none;
}

.loading.show {
    display: block;
}

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (min-width: 800px) {
    .container {
        padding: 30px;
    }

    .header h1 {
        font-size: 32px;
    }

    .card {
        padding: 30px;
    }
}
