/*  класс для модального окна почта */
.feedback-email-modal {
background: rgba(0,0,0,0.7); /* Фоновый оттенок */
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 9999;
transition: all 0.5s ease;
margin: 0;
padding: 0;

/* Скрываем окно до активации */
display: none;
}

/* Активируем модальное окно через :target */
#feedback-email-modal:target {
display: block; /* Показываем окно */
overflow-y: auto; /* Прокрутка содержимого внутри окна */
}

/* === Стили для внутренней части окна === */
.feedback-email-modal-wrapper {
display: table-cell;
vertical-align: middle;
text-align: center;
}

.iw-CSS-modal-inner {
background-color: #ffffff;
max-width: 600px;
margin: 0 auto;
padding: 20px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

/* Заголовок окна */
.feedback-email-modal-header {
position: relative;
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}

/* Название окна */
.feedback-email-modal-title {
font-size: 24px;
font-weight: bold;
margin: 0;
}

/* Кнопка закрытия */
.iw-close {
position: absolute;
top: 10px;
right: 10px;
font-size: 24px;
cursor: pointer;
color: #ccc;
transition: color 0.3s;
}

.iw-close:hover {
color: #666;
}

/* Текст окна */
.feedback-email-modal-text p {
margin: 10px 0;
}


/* Основной класс для менеджер */
.iw-modal {
background: rgba(0,0,0,0.7); /* Фоновый оттенок */
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 9999;
transition: all 0.5s ease;
margin: 0;
padding: 0;

/* Скрываем окно до активации */
display: none;
}

/* Активируем модальное окно через :target */
#iw-modal:target {
display: block; /* Показываем окно */
overflow-y: auto; /* Прокрутка содержимого внутри окна */
}

/* === Стили для внутренней части окна === */
.iw-modal-wrapper {
display: table-cell;
vertical-align: middle;
text-align: center;
}

.iw-CSS-modal-inner {
background-color: #ffffff;
max-width: 600px;
margin: 0 auto;
padding: 20px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

/* Заголовок окна */
.iw-modal-header {
position: relative;
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}

/* Название окна */
.iw-modal-title {
font-size: 24px;
font-weight: bold;
margin: 0;
}

/* Кнопка закрытия */
.iw-close {
position: absolute;
top: 10px;
right: 10px;
font-size: 24px;
cursor: pointer;
color: #ccc;
transition: color 0.3s;
}

.iw-close:hover {
color: #666;
}

/* Текст окна */
.iw-modal-text p {
margin: 10px 0;
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
.iw-CSS-modal-inner {
max-width: 90%;
}
}
/* Контейнер формы */
.wpcf7-form {
max-width: 600px;
margin: 0 auto;
padding: 20px;
background-color: #fafafa;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Поля ввода */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="password"],
.wpcf7-form select,
.wpcf7-form textarea {
width: 100%;
padding: 12px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
box-sizing: border-box;
}

/* Поля ввода в состоянии focus */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="password"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
border-color: #6c757d;
outline: none;
}

/* Кнопка отправки */
.wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}
/* ===== FEEDBACK HEADER STYLES ===== */
.feedback-header {
    background-color: #333 !important;
    color: #fff !important;
    padding: 25px 0 !important;
    position: relative;
    z-index: 1000;
}

.feedback-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 60px !important;
}

/* Контакты */
.feedback-contacts-section {
    display: flex !important;
    align-items: center !important;
    gap: 50px !important;
    justify-content: center !important;
}

/* Телефон */
.feedback-header .feedback-phone-block .feedback-phone-link {
    color: #ffa500 !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
}

.feedback-header .feedback-phone-block .feedback-phone-link .feedback-phone-icon {
    margin-right: 15px !important;
    font-size: 26px !important;
    color: #ffa500 !important;
}

/* Время работы */
.feedback-header .feedback-working-hours {
    font-size: 20px !important;
    color: #fff !important;
    font-weight: 500 !important;
}

.feedback-header .feedback-working-hours .feedback-clock-icon {
    margin-right: 10px !important;
    color: #ffa500 !important;
    font-size: 20px !important;
}

/* Кнопки */
.feedback-header .feedback-buttons {
    display: flex !important;
    gap: 25px !important;
    justify-content: center !important;
}

.feedback-header .feedback-buttons .feedback-btn {
    padding: 15px 25px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    font-size: 18px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    min-height: 50px !important;
}

.feedback-header .feedback-buttons .feedback-btn:hover {
    opacity: 0.9 !important;
    transform: translateY(-2px) !important;
}

.feedback-header .feedback-buttons .feedback-btn i {
    margin-right: 12px !important;
    font-size: 20px !important;
    min-width: 20px !important;
}

/* Цвета кнопок */
.feedback-header .feedback-buttons .feedback-email-btn {
    background-color: #ffa500 !important;
    color: #333 !important;
    border: 2px solid #e59400 !important;
}

.feedback-header .feedback-buttons .feedback-callback-btn {
    background-color: #ffa500 !important;
    color: #333 !important;
    border: 2px solid #e59400 !important;
}

.feedback-header .feedback-buttons .feedback-whatsapp-btn {
    background-color: #25D366 !important;
    color: white !important;
    border: 2px solid #1da851 !important;
}

.feedback-header .feedback-buttons .feedback-telegram-btn {
    background-color: #0088cc !important;
    color: white !important;
    border: 2px solid #006699 !important;
}

.feedback-header .feedback-buttons .feedback-viber-btn {
    background-color: #7360F2 !important;
    color: white !important;
    border: 2px solid #5a4acf !important;
}

/* Мобильная адаптация */
@media (max-width: 1024px) {
    .feedback-header .feedback-container {
        gap: 40px !important;
    }
    
    .feedback-header .feedback-contacts-section {
        gap: 30px !important;
    }
    
    .feedback-header .feedback-phone-block .feedback-phone-link {
        font-size: 24px !important;
    }
    
    .feedback-header .feedback-buttons {
        gap: 20px !important;
    }
    
    .feedback-header .feedback-buttons .feedback-btn {
        font-size: 16px !important;
        padding: 12px 20px !important;
    }
}

@media (max-width: 768px) {
    .feedback-header .feedback-container {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .feedback-header .feedback-contacts-section {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
    }
    
    .feedback-header .feedback-phone-block .feedback-phone-link {
        font-size: 22px !important;
    }
    
    .feedback-header .feedback-phone-block .feedback-phone-link .feedback-phone-icon {
        font-size: 20px !important;
        margin-right: 10px !important;
    }
    
    .feedback-header .feedback-working-hours {
        font-size: 18px !important;
    }
    
    .feedback-header .feedback-working-hours .feedback-clock-icon {
        font-size: 16px !important;
    }
    
    .feedback-header .feedback-buttons {
        flex-wrap: wrap !important;
        gap: 15px !important;
    }
    
    .feedback-header .feedback-buttons .feedback-btn {
        font-size: 15px !important;
        padding: 12px 18px !important;
        min-height: 45px !important;
    }
    
    .feedback-header .feedback-buttons .feedback-btn i {
        font-size: 16px !important;
        margin-right: 8px !important;
    }
}

@media (max-width: 480px) {
    .feedback-header {
        padding: 20px 0 !important;
    }
    
    .feedback-header .feedback-phone-block .feedback-phone-link {
        font-size: 20px !important;
    }
    
    .feedback-header .feedback-working-hours {
        font-size: 16px !important;
    }
    
    .feedback-header .feedback-buttons {
        gap: 12px !important;
    }
    
    .feedback-header .feedback-buttons .feedback-btn {
        font-size: 14px !important;
        padding: 10px 15px !important;
        min-height: 40px !important;
    }
    
    .feedback-header .feedback-buttons .feedback-btn i {
        font-size: 14px !important;
        margin-right: 6px !important;
    }
}
/* Стиль для сообщения об успешной отправке */
.wpcf7-response-output.success-message {
    background-color: #d4edda !important;
    color: #155724 !important;
    border-color: #c3e6cb !important;
    font-weight: bold !important;
}