* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
}

.step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.question {
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;
}

.input-field {
    width: 100%;
    max-width: 400px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
    font-size: 16px;
    padding: 10px 0;
    margin-bottom: 30px;
    text-align: center;
}

.input-field::placeholder {
    color: #cccccc;
}

.input-field:focus {
    outline: none;
    border-bottom: 2px solid #ffffff;
}

.input-field.error {
    border-bottom: 2px solid #e74c3c;
}

.date-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.date-input {
    width: 80px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
    font-size: 16px;
    padding: 10px 0;
    text-align: center;
}

.date-input::placeholder {
    color: #cccccc;
}

.date-input:focus {
    outline: none;
    border-bottom: 2px solid #ffffff;
}

.date-input.error {
    border-bottom: 2px solid #e74c3c;
}

.date-separator {
    color: #ffffff;
    font-size: 18px;
    align-self: center;
}

.file-upload {
    border: 2px dashed #666666;
    border-radius: 8px;
    padding: 40px 20px;
    margin: 20px 0;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.file-upload:hover {
    border-color: #ffffff;
}

.file-upload.dragover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.file-upload.error {
    border-color: #e74c3c;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.upload-text {
    color: #ffffff;
    margin-bottom: 10px;
}

.upload-limit {
    color: #cccccc;
    font-size: 14px;
}

.country-select {
    width: 100%;
    max-width: 400px;
    background: transparent;
    border: 1px solid #666666;
    color: #ffffff;
    font-size: 16px;
    padding: 12px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.country-select option {
    background: #000000;
    color: #ffffff;
}

.country-select.error {
    border-color: #e74c3c;
}

.btn {
    background: #666666;
    color: #000000;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.btn:hover:not(.disabled) {
    background: #888888;
}

.btn.disabled {
    background: #333333;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.5;
}

.enter-hint {
    color: #cccccc;
    font-size: 14px;
    display: inline-block;
}

.line-break-hint {
    color: #cccccc;
    font-size: 12px;
    margin-bottom: 20px;
}

.navigation {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.nav-btn {
    background: #666666;
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
}

.nav-btn:hover {
    background: #888888;
}

.progress {
    position: fixed;
    top: 20px;
    left: 20px;
    color: #ffffff;
    font-size: 14px;
}

.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-message h2 {
    color: #27ae60;
    margin-bottom: 20px;
    font-size: 24px;
}

.success-message p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.info-slide {
    text-align: center;
    padding: 40px 20px;
}

.info-slide h2 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 20px;
}

.info-slide p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.price-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #ffffff;
}

.price-info h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 16px;
}

.price-info ul {
    list-style: none;
    padding: 0;
}

.price-info li {
    margin: 8px 0;
    color: #cccccc;
    font-size: 14px;
}

/* Стили для всплывающих уведомлений */
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    font-size: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.notification.show {
    opacity: 1;
    visibility: visible;
    animation: notificationShow 0.3s ease;
}

@keyframes notificationShow {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.notification h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.notification p {
    margin: 0;
    line-height: 1.4;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

/* Overlay для уведомления */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.notification-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ФОРМЫ ОПЛАТЫ
   Добавить в конец файла styles.css
   ============================================ */

/* Стили для disabled кнопки */
.btn.disabled {
    background: rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    transform: none !important;
}

.btn.disabled:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Стили для полей с ошибками */
.input-field.error {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3) !important;
    background: rgba(255, 107, 107, 0.1) !important;
}

.file-upload.error {
    border-color: #ff6b6b !important;
    background: rgba(255, 107, 107, 0.1) !important;
}

.file-upload.error .upload-icon {
    color: #ff6b6b;
}

.file-upload.error .upload-text {
    color: #ff6b6b;
}

/* Стили для уведомлений */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    backdrop-filter: blur(5px);
}

.notification-overlay.show {
    display: block;
}

.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    max-width: 450px;
    width: 90%;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification.show {
    display: block;
    animation: slideInNotification 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInNotification {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.notification-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: white;
}

.notification h3 {
    color: #fff;
    margin: 0 0 15px 0;
    font-size: 18px;
}

.notification p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

/* Стили для страницы оплаты */
#payment .question {
    margin-bottom: 30px;
}

#payment .info-slide {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

#payment .info-slide h3 {
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
}

#payment .info-slide ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#payment .info-slide li {
    color: #cccccc;
    margin-bottom: 8px;
    padding-left: 0;
}

/* Секции на странице оплаты */
.payment-section-header {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

/* QR код и ссылка на оплату */
.qr-payment-section {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.qr-container {
    text-align: center;
}

.qr-wrapper {
    background: white;
    padding: 15px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.qr-description {
    margin-top: 10px;
    font-size: 14px;
    color: #cccccc;
}

.payment-link-container {
    text-align: center;
}

.payment-link-description {
    font-size: 14px;
    color: #cccccc;
    margin-top: 10px;
}

/* Предупреждение */
.warning-section {
    background: rgba(255, 243, 205, 0.1);
    border: 2px solid #ffeaa7;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.warning-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffeaa7, #fdcb6e);
}

.warning-section h4 {
    color: #ffeaa7;
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: bold;
}

.warning-section p {
    color: #ffeaa7;
    margin: 0;
    font-weight: bold;
    font-size: 15px;
}

/* Анимация для предупреждения */
.warning-section {
    animation: pulseWarning 3s infinite;
}

@keyframes pulseWarning {
    0%, 100% { 
        background: rgba(255, 243, 205, 0.1);
        transform: scale(1);
    }
    50% { 
        background: rgba(255, 243, 205, 0.15);
        transform: scale(1.01);
    }
}

/* Стили для загрузки файлов на странице оплаты */
#payment .file-upload {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#payment .file-upload::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

#payment .file-upload:hover::before {
    left: 100%;
}

#payment .file-upload:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

#payment .file-upload.dragover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #4facfe;
    transform: scale(1.02);
}

#payment .upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

#payment .upload-text {
    color: #fff;
    font-weight: 500;
    margin-bottom: 8px;
}

#payment .upload-limit {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Успешная отправка */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-message h2 {
    color: #4CAF50;
    margin-bottom: 20px;
    font-size: 28px;
}

.success-message p {
    color: #cccccc;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.success-message p:last-child {
    font-weight: bold;
    color: #fff;
    font-size: 18px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .qr-payment-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .notification {
        width: 95%;
        padding: 25px;
    }
    
    .warning-section {
        padding: 15px;
    }
    
    #payment .file-upload {
        padding: 25px 15px;
    }
    
    #payment .upload-icon {
        font-size: 36px;
    }
} 