.floating-social-tab {
    position: fixed;
    right: -360px;
    top: 15%;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-social-tab.expanded {
    right: 0;
}

.floating-social-tab:hover {
    right: 0;
}

.social-tab-container {
    display: flex;
    align-items: center;
}

.tab-trigger {
    position: relative;
    background: linear-gradient(135deg, #4267B2, #365899);
    color: white;
    padding: 20px 12px;
    border-radius: 15px 0 0 15px;
    cursor: pointer;
    box-shadow: -3px 0 15px rgba(66, 103, 178, 0.4);
    min-height: 120px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.tab-trigger:hover {
    background: linear-gradient(135deg, #365899, #2d4373);
    transform: translateX(-5px);
}

.trigger-content {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.trigger-content i {
    font-size: 24px;
    margin-bottom: 10px;
}

.trigger-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.trigger-arrow {
    font-size: 12px;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; transform: translateX(2px); }
}

.tab-content-wrapper {
    background: white;
    border-radius: 15px 0 0 15px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 360px;
    max-height: 600px;
}

.content-header {
    background: linear-gradient(135deg, #4267B2, #365899);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.header-info i {
    font-size: 20px;
}

.minimize-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.minimize-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.fb-container {
    padding: 0;
    background: #f8f9fa;
}

.content-footer {
    background: #f8f9fa;
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
}

.visit-page-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4267B2;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 15px;
    background: white;
    border-radius: 25px;
    border: 2px solid #4267B2;
    transition: all 0.3s ease;
    justify-content: center;
}

.visit-page-btn:hover {
    background: #4267B2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 103, 178, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .floating-social-tab {
        right: -320px;
        top: 50%;
    }
    .tab-content-wrapper {
        width: 320px;
    }
    .social-tab-container {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .floating-social-tab {
        right: -290px;
        top: 50%;
    }
    .tab-content-wrapper {
        width: 290px;
    }
    .social-tab-container {
        height: 120px;
    }
}
