body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 20px;
    font-size: 16px;
}

.container {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
}

label {
    display: block;
    margin: 10px 0 5px;
}

input, select {
    width: 100%;
    padding: 10px;
    line-height: 24px;
    font-size: 16px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: #218838;
}

.currency-container {
    font-family: Arial, sans-serif;
    margin: 20px;
}

.currency {
    margin: 10px 0;
}

.currency span {
    margin-right: 10px;
}

/* Стили для чекбокса */
.checkbox-container {
    display: flex;
    align-items: center;
}

input[type="checkbox"] {
    appearance: auto;
    width: 30px;
    height: 30px;
    border: 2px solid #28a745;
    border-radius: 3px;
    margin-right: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="checkbox"]:checked {
    background-color: #28a745;
}

input[type="checkbox"]:checked::before {
    color: white;
    display: flex;
    justify-content: center;
    align-items: stretch;
    font-size: 20px;
}

.form-input {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    font-size: 18px !important;
}

/* Стили для блока с подарком */
.gift-section {
    background: linear-gradient(135deg, #f9f3ff 0%, #e6f7ff 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.gift-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.gift-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.gift-icon {
    font-size: 50px;
    animation: bounce 2s infinite;
    flex-shrink: 0;
}

.gift-title {
    color: #d32f2f;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.gift-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.gift-text {
    flex: 1;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #4CAF50;
}

.gift-highlight {
    color: #d32f2f;
    font-weight: 700;
    font-size: 22px;
    display: block;
    margin: 10px 0;
}

.gift-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #4CAF50, #2196F3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 70px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.gift-note {
    background: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

@media (max-width: 768px) {
    .gift-content {
        flex-direction: column;
        text-align: center;
    }
    
    .gift-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .gift-title {
        font-size: 24px;
    }
    
    .gift-text {
        font-size: 16px;
        padding: 15px;
    }
}

.service-selection {
    margin: 20px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

.service-option {
    margin: 10px 0;
    padding: 10px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.service-option:hover {
    border-color: #4CAF50;
    background: #f9fff9;
}

.service-option.selected {
    border-color: #4CAF50;
    background: #e8f5e8;
}

.service-option input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
    cursor: pointer;
}

.service-option label {
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service-price {
    font-weight: bold;
    color: #4CAF50;
    font-size: 18px;
    margin-left: 10px;
}

.service-description {
    font-size: 14px;
    color: #666;
    margin-left: 30px;
    margin-top: 5px;
}

.currency-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    padding: 15px;
    background: #e8f5e8;
    border-radius: 8px;
}

.currency {
    background: white;
    padding: 8px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: opacity 0.3s;
}

.currency.loading {
    opacity: 0.5;
}

.currency span {
    font-weight: bold;
    color: #333;
}

.update-time {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Стили для блока согласия с политикой */
.policy-consent {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-left: 4px solid #4CAF50;
    border-radius: 4px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.checkbox-label a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.checkbox-label a:hover {
    color: #45a049;
    text-decoration: underline;
}

/* Стиль для отключенной кнопки (пока не принято согласие) */
#submitBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#submitBtn:disabled:hover {
    background-color: #4CAF50;
    transform: none;
}
/* Стили для выбора способа связи */
.contact-method-selection {
    margin: 20px 0;
    padding: 15px;
    background: #f0f7ff;
    border-radius: 8px;
    border: 1px solid #cce0ff;
}

.contact-option {
    margin: 8px 0;
    padding: 10px 15px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-option:hover {
    border-color: #667eea;
    background: #f8faff;
}

.contact-option:has(input:checked) {
    border-color: #667eea;
    background: #e8eeff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.contact-option label {
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.contact-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
    transform: scale(1.1);
    flex-shrink: 0;
}

.contact-option input[type="checkbox"]:checked {
    accent-color: #667eea;
}

.contact-badge {
    font-size: 13px;
    color: #888;
    background: #f5f5f5;
    padding: 2px 12px;
    border-radius: 20px;
    font-weight: 400;
}

.contact-option:has(input:checked) .contact-badge {
    background: #667eea;
    color: white;
}