/* QR страницы - общие стили */
.qr-container {
    text-align: center;
}

.qr-code {
    background: white;
    padding: 20px;
    border-radius: 16px;
    display: inline-block;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.qr-code img {
    width: 200px;
    height: 200px;
}

.status-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
}

.status-waiting {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-expired {
    background: #f8d7da;
    color: #721c24;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #667eea;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

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

.info-box {
    background: #f0f4f8;
    padding: 16px;
    border-radius: 12px;
    margin-top: 24px;
    font-size: 13px;
    color: #4a5568;
}

/* Страница ожидания */
.waiting-container {
    text-align: center;
}

.waiting-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

/* Страница успеха */
.success-container {
    text-align: center;
}

.success-icon {
    color: #48bb78;
    font-size: 48px;
    margin-bottom: 20px;
}

/* Страница ошибки */
.error-container {
    text-align: center;
}

.error-icon {
    color: #fc3f1d;
    font-size: 48px;
    margin-bottom: 20px;
}

/* Адаптивность */
@media (max-width: 480px) {
    .qr-code img {
        width: 150px;
        height: 150px;
    }
    
    .info-box {
        font-size: 11px;
    }
}
