/* Стили для формы поиска */
.custom-search-form {
    margin: 20px 0;
    padding: 0;
    box-sizing: border-box;
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border: 2px solid #00ffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    color: #000000;
    background: #ffffff;
    border: none;
    outline: none;
    font-style: normal;
    font-weight: normal;
    height: 100%;
}

.search-input::placeholder {
    color: #000000;
    opacity: 0.7;
}

.search-input:focus,
.search-input:active {
    outline: none;
    box-shadow: none;
    border: none;
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #0000cc;
    border: none;
    cursor: pointer;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    height: 100%;
    gap: 8px;
}

.search-button:hover {
    background: #0000aa;
}

.search-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.search-icon::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    top: 0;
    left: 0;
}

.search-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 2px;
    background: #ffffff;
    transform: rotate(45deg);
    top: 15px;
    left: 12px;
}

.search-text {
    display: inline-block;
    color: #ffffff;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .search-input-container {
        flex-direction: column;
        border-radius: 12px;
        max-width: 90%;
    }
    
    .search-input {
        padding: 16px 20px;
        border-bottom: 1px solid #00ffff;
        width: 100%;
        text-align: center;
    }
    
    .search-button {
        padding: 14px 20px;
        width: 100%;
        gap: 10px;
    }
    
    .search-icon {
        width: 18px;
        height: 18px;
    }
    
    .search-icon::before {
        width: 12px;
        height: 12px;
    }
    
    .search-icon::after {
        width: 7px;
        height: 2px;
        top: 13px;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .search-input-container {
        max-width: 95%;
    }
    
    .search-input {
        font-size: 16px;
        padding: 14px 16px;
    }
    
    .search-button {
        font-size: 16px;
        padding: 12px 16px;
    }
}

/* Скрытие оригинальной формы Яндекса */
.ya-site-form_inited_no {
    display: none !important;
}

.search-button:focus {
    outline: none;
}

/* Убираем стандартные стили для search input в некоторых браузерах */
.search-input::-webkit-search-decoration,
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-results-button,
.search-input::-webkit-search-results-decoration {
    -webkit-appearance: none;
}
/* Стили для FAQ */
.faq-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 18px 20px;
    background: #f5f5f5;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    color: #0000cc;
    transition: background 0.3s ease;
    position: relative;
    padding-right: 50px;
}

.faq-question:hover {
    background: #e8e8e8;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
    color: #0000cc;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: #fff;
    line-height: 1.6;
    color: #555;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

