/* --- FLOATING WIDGET --- */

.floating-widget {
    position: fixed;
    bottom: 30px;
    left: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    pointer-events: none;
}

/* Trigger button */

.floating-widget__trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f5a623;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    flex-shrink: 0;
    pointer-events: auto;
}

.floating-widget__trigger::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(245, 166, 35, 0.35);
    pointer-events: none;
}

.floating-widget__trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.6);
}

.floating-widget__trigger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-widget__trigger-icon_close {
    display: none;
}

.floating-widget.open .floating-widget__trigger-icon_open {
    display: none;
}

.floating-widget.open .floating-widget__trigger-icon_close {
    display: flex;
}

/* Panel */

.floating-widget__panel {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 20px;
    width: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.97);
    transform-origin: bottom left;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.floating-widget__panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.floating-widget__panel.active * {
    pointer-events: auto;
}

/* Logo */

.floating-widget__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.floating-widget__logo img {
    max-width: 130px;
    height: auto;
}

/* Title */

.floating-widget__title {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #252525;
    margin-bottom: 16px;
    line-height: 1.3;
}

/* List */

.floating-widget__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Link rows */

.floating-widget__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f4f4f4;
    border-radius: 12px;
    text-decoration: none;
    color: #252525;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
    font-family: inherit;
    text-align: left;
    white-space: nowrap;
}

.floating-widget__link:hover {
    background: #eaeaea;
}

.floating-widget__link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.floating-widget__link-icon svg {
    width: 28px;
    height: 28px;
}

.floating-widget__link_callback .floating-widget__link-icon svg {
    width: 22px;
    height: 22px;
}

.floating-widget__legal {
    margin: 10px 0 0;
    font-size: 11px;
    color: #999;
    text-align: center;
    line-height: 1.3;
}

/* --- / FLOATING WIDGET --- */
