/**
 * Стили формы записи на замер
 */

.zamer-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.zamer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.zamer-container {
    position: relative;
    z-index: 1;
}

.zamer-title {
    color: #ffffff !important;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.zamer-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.zamer-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin: 0 auto;
}

.zamer-form .form-group {
    margin-bottom: 1rem;
}

.zamer-form label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.zamer-form input,
.zamer-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.zamer-form input:focus,
.zamer-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.zamer-form textarea {
    min-height: 80px;
    resize: vertical;
}

.zamer-form .btn-submit {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zamer-form .btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

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

.zamer-form .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.zamer-form .form-disclaimer {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
}

.contact-text {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.contact-phone-link {
    color: #ffffff !important;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-phone-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Уведомления */
.zamer-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    padding: 15px 20px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.zamer-notification--show {
    opacity: 1;
    transform: translateX(0);
}

.zamer-notification--success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #ffffff;
}

.zamer-notification--error {
    background: linear-gradient(135deg, #f44336, #da190b);
    color: #ffffff;
}

.zamer-notification--info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: #ffffff;
}

/* Адаптивность */
@media (max-width: 768px) {
    .zamer-title {
        font-size: 1.4rem;
    }

    .zamer-form-wrapper {
        padding: 20px;
        margin: 0 10px;
    }

    .zamer-notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zamer-form-wrapper {
    animation: fadeInUp 0.4s ease;
}
