/* ============================================================
   BUTTONS & LINKS — все виды кнопок и ссылок сайта.
   Грузится на ВСЕХ страницах.
   ============================================================ */

.button-secondary {
    background: rgb(66, 184, 221);
}

.button-secondary-small {
    background: rgb(66, 184, 221);
    font-size: 70%;
}

.button-warning {
    background: rgb(223, 117, 20);
}

.btn-danger-custom { background-color:#ca3c3cff; color:whitesmoke; }

.my_button {
    border: none;
    color: #444444;
    font-size: .9em;
    text-decoration: none;
    cursor: pointer;
}

.my_button:hover {
    text-decoration: underline;
}

.link_button {
    background-color: transparent;
    border: none;
    color: #557a95;
    text-decoration: underline;
}

.close-button {
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.close-button:hover {
    background-color: #ff0000;
}

.cross-icon {
    font-size: 16px;
    color: #333;
    transition: color 0.3s ease;
}

.close-button:hover .cross-icon {
    color: white;
}

.edit-button {
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.edit-button:hover {
    background-color: #0078e7;
}

.edit-button:hover .cross-icon {
    color: white;
}

.custom-button-small {
    -webkit-user-drag: none;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    line-height: normal;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
    background-color: #e6e6e6;
    border: transparent;
    border-radius: 2px;
    color: rgba(0, 0, 0, .8);
    font-size: 70%;
    padding: .5em 1em;
    text-decoration: none;
}

.custom-button-small-hover, .custom-button-small:focus, .custom-button-small:hover {
    background-image: linear-gradient(transparent, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .1));
}

.link {
    color: #557a95;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
    text-underline-offset: .2em;
}

.link_inverse {
    color: whitesmoke;
}

/* Крупная кнопка отправки (форма заявки) */
.btn-xl {
    font-size: 1.125rem;
    padding: 0.9em 1.6em;
    min-height: 52px;
    border-radius: 8px;
    line-height: 1.2;
}

@media (max-width: 640px) {
    #submit-wrap .btn-xl { display: block; width: 100%; }
}
