:root {
    --gfc-primary: #d0473e; /* Glozin Primary */
    --gfc-dark: #111111;
    --gfc-white: #ffffff;
    --gfc-viber: #7360f2;
    --gfc-telegram: #0088cc;
    --gfc-phone: #25d366;
    --gfc-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.gfc-floating-container {
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.gfc-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--gfc-primary);
    color: var(--gfc-white);
    border: none;
    cursor: pointer;
    box-shadow: var(--gfc-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    padding: 0;
    margin-top: 15px;
}

.gfc-trigger:hover {
    transform: scale(1.1);
    background-color: var(--gfc-dark);
}

.gfc-trigger svg {
    width: 24px;
    height: 24px;
}

.gfc-trigger .gfc-close-icon {
    display: none;
}

.gfc-floating-container.active .gfc-trigger .gfc-trigger-icon {
    display: none;
}

.gfc-floating-container.active .gfc-trigger .gfc-close-icon {
    display: block;
}

.gfc-popup {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gfc-floating-container.active .gfc-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gfc-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    transition: transform 0.2s ease;
}

/* Position-specific styles */
.gfc-pos-right .gfc-item { justify-content: flex-end; }
.gfc-pos-left .gfc-item { justify-content: flex-start; }

.gfc-pos-right .gfc-item:hover { transform: translateX(-5px); }
.gfc-pos-left .gfc-item:hover { transform: translateX(5px); }

.gfc-label {
    background: var(--gfc-white);
    color: var(--gfc-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--gfc-shadow);
    white-space: nowrap;
    font-family: 'Instrument Sans', sans-serif;
}

.gfc-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gfc-white);
    box-shadow: var(--gfc-shadow);
}

.gfc-icon svg {
    width: 22px;
    height: 22px;
}

.viber .gfc-icon { background-color: var(--gfc-viber); }
.telegram .gfc-icon { background-color: var(--gfc-telegram); }
.phone .gfc-icon { background-color: var(--gfc-phone); }

/* Responsive adjustments */
@media (max-width: 768px) {
    .gfc-trigger {
        width: 48px;
        height: 48px;
    }
    .gfc-icon {
        width: 40px;
        height: 40px;
    }
}
