/* ========================================================================
   1. СТИЛЬ ИНТЕРАКТИВНОЙ КНОПКИ-РЫНДЫ (ФИРМЕННЫЙ ТЕРРАКОТОВЫЙ ЦВЕТ)
   ======================================================================== */
.call-btn {
    background: #9b300d !important;      /* Наш терракотовый фон */
    border-radius: 50% !important;
    box-shadow: 0 0px 13px rgba(155, 48, 13, 0.4) !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    display: inline-flex !important;      /* Сидит ровно в ряду иконок справочника */
    align-items: center !important;
    justify-content: center !important;
    height: 45px !important;              
    width: 45px !important;                  
    position: relative !important;         
    top: -4px !important;                 /* Выравнивание по высоте в ряду */
    z-index: 999 !important;
    
    transition: background .3s ease-in-out, border .3s ease-in-out !important;
    animation: hoverWave 1.4s linear infinite !important; /* Пульсирующая волна */
}

.call-btn:hover {
    background: #1a2a3a !important;       /* Тёмно-синий ховер плиток */
    border: 2px solid bisque !important;  
}

.call-btn .img-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: 100% !important;
    transition: opacity .3s ease-in-out !important;
    animation: shake 1.5s ease infinite !important; /* Колокол раскачивается */
	border: solid 1px bisque;
    border-radius: 50%;
}

.call-btn:hover .img-btn {
    opacity: 0 !important;
}

.call-btn .text-btn {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    height: 100% !important; width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.call-btn .text-btn span {
    color: bisque !important;             
    font-size: 8px !important;           
    font-weight: bold !important;
    text-transform: uppercase !important;
    text-align: center !important;
    opacity: 0 !important;
    transition: opacity .3s ease-in-out !important;
    line-height: 10px !important;
}

.call-btn:hover .text-btn span {
    opacity: 1 !important;
}

/* ========================================================================
   2. СТИЛИ МОДАЛЬНОГО ОКНА И ПОЛЕЙ ВВОДA
   ======================================================================== */
.rynda-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important; left: 0 !important; 
    width: 100% !important; height: 100% !important;
    background: rgba(0, 0, 0, 0.75) !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
}

.rynda-window {
    background: #1a2a3a !important;   
    border: 2px solid bisque !important; 
    border-radius: 12px !important;
    padding: 30px !important;
    width: 100% !important;
    max-width: 400px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    position: relative !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

.rynda-window h3 {
    color: bisque !important;
    font-size: 24px !important;
    margin: 0 0 10px 0 !important;
    font-family: sans-serif !important;
    border-bottom: 2px solid #9b300d !important;
    padding-bottom: 5px !important;
}

.rynda-window p {
    color: bisque !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin: 0 0 20px 0 !important;
}

.rynda-field {
    margin-bottom: 15px !important;
}
.rynda-field label {
    display: block !important;
    color: #ffdd99 !important;        
    font-size: 14px !important;
    font-weight: bold !important;
    margin-bottom: 5px !important;
}
.rynda-field input {
    width: 100% !important;
    padding: 10px !important;
    font-size: 16px !important;
    border: 1px solid bisque !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #000000 !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.rynda-submit-btn {
    width: 100% !important;
    padding: 12px !important;
    font-size: 16px !important;
    background: #9b300d !important;   
    color: bisque !important;
    border: 1px solid #9b300d !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.rynda-submit-btn:hover {
    background: #ff0000 !important;   
    border-color: #ff0000 !important;
}

.rynda-close-btn {
    position: absolute !important;
    top: 10px !important; right: 15px !important;
    color: bisque !important;
    font-size: 28px !important;
    cursor: pointer !important;
}
.rynda-close-btn:hover {
    color: #ff0000 !important;
}

/* ========================================================================
   3. КРАСИВАЯ ГЕОМЕТРИЧЕСКАЯ АНИМАЦИЯ ВОЛН И ЗВОНА
   ======================================================================== */
@keyframes hoverWave {
    0%, 100% { box-shadow: 0 8px 10px rgba(155, 48, 13, 0.4), 0 0 0 0 rgba(155, 48, 13, 0.3); }
    40% { box-shadow: 0 8px 10px rgba(155, 48, 13, 0.4), 0 0 0 15px rgba(155, 48, 13, 0.2); }
    80% { box-shadow: 0 8px 10px rgba(155, 48, 13, 0.4), 0 0 0 30px rgba(155, 48, 13, 0); }
}

@keyframes shake {
    0%, 100% { transform: rotateZ(0deg); }
    10% { transform: rotateZ(-25deg); }
    20% { transform: rotateZ(20deg); }
    30% { transform: rotateZ(-15deg); }
    40% { transform: rotateZ(10deg); }
    50% { transform: rotateZ(-7deg); }
    60% { transform: rotateZ(5deg); }
    70% { transform: rotateZ(-3deg); }
    80% { transform: rotateZ(2deg); }
    90% { transform: rotateZ(-1deg); }
}