#floating-ui {
    position: fixed;
    bottom: 75px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    background: #2663eb;
    color: white;
    font-family: 'Lato', sans-serif;
    padding: 14px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    width: 56px;
    height: 56px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.3s ease;
}

.float-btn:hover {
    background: #1e4fbb;
}

.float-btn .icon {
    width: 28px;
    height: 28px;
}

.float-submenu, .float-modal {
    display: none;
    position: fixed;
    bottom: 207px;
    right: 20px;
    background: #fff;
    border: 1px solid #e3e8f1;
    padding: 20px;
    z-index: 10000;
    max-height: 90vh;
    overflow-y: auto;
    width: 340px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 12px;
}

.float-submenu a {
    display: block;
    margin: 10px 0;
    padding: 10px;
    background-color: #f5f8ff;
    border-radius: 6px;
    color: #042174;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.float-submenu a:hover {
    background-color: #e0e8ff;
}

.float-submenu iframe, .float-modal iframe {
    width: 100%;
    height: 700px;
}

.float-modal#email-modal iframe {
    height: 850px;
}

@media (max-width: 768px) {
    #floating-ui {
        bottom: 75px;
        right: 15px;
        flex-direction: column;
        gap: 10px;
    }
    .float-btn {
        width: 50px;
        height: 50px;
        padding: 12px;
    }
    .float-btn .icon {
        width: 26px;
        height: 26px;
    }
    .float-modal, .float-submenu {
        width: 90vw;
        bottom: 207px;
        right: 5vw;
        left: 5vw;
    }
    .float-modal#email-modal iframe {
        height: 600px;
    }
}

