/**
 * Social Icons Widget Styles
 *
 * @package beatrix
 * @since 1.0.0
 */

/* Base Widget Styles */
.widget_beatrix_social_icons {
    margin-bottom: 30px;
}

.beatrix-social-widget .social-icons-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.beatrix-social-widget .social-icon-item {
    margin: 0;
    padding: 0;
    flex-shrink: 1;
}

.beatrix-social-widget .social-icon-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.beatrix-social-widget .social-icon-item a i {
    transition: all 0.3s ease;
}

/* Alignment Styles */
.beatrix-social-widget.social-align-left .social-icons-list {
    justify-content: flex-start;
}

.beatrix-social-widget.social-align-center .social-icons-list {
    justify-content: center;
}

.beatrix-social-widget.social-align-right .social-icons-list {
    justify-content: flex-end;
}

/* Size Variations */
/* Small */
.beatrix-social-widget.beatrix-social-small .social-icon-item a {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

/* Medium */
.beatrix-social-widget.beatrix-social-medium .social-icon-item a {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

/* Large */
.beatrix-social-widget.beatrix-social-large .social-icon-item a {
    width: 50px;
    height: 50px;
    font-size: 20px;
}

/* Style Variations */
/* Default Style - Simple icons with hover effect */
.beatrix-social-widget.beatrix-social-default .social-icon-item a {
    color: #ffffff;
    background: transparent;
}

.beatrix-social-widget.beatrix-social-default .social-icon-item a:hover {
    color: #3cffd0;
    transform: translateY(-3px);
}

/* Rounded Style */
.beatrix-social-widget.beatrix-social-rounded .social-icon-item a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.beatrix-social-widget.beatrix-social-rounded .social-icon-item a:hover {
    background: #3cffd0;
    color: #000000;
    transform: translateY(-3px);
}

/* Square Style */
.beatrix-social-widget.beatrix-social-square .social-icon-item a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
}

.beatrix-social-widget.beatrix-social-square .social-icon-item a:hover {
    background: #3cffd0;
    color: #000000;
}

/* Circle Style */
.beatrix-social-widget.beatrix-social-circle .social-icon-item a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.beatrix-social-widget.beatrix-social-circle .social-icon-item a:hover {
    background: #3cffd0;
    color: #000000;
    transform: scale(1.1);
}

/* Light Mode Support */
body.likhun-dark .beatrix-social-widget.beatrix-social-default .social-icon-item a {
    color: #000000;
}

body.likhun-dark .beatrix-social-widget.beatrix-social-default .social-icon-item a:hover {
    color: #3cffd0;
}

body.likhun-dark .beatrix-social-widget.beatrix-social-rounded .social-icon-item a,
body.likhun-dark .beatrix-social-widget.beatrix-social-square .social-icon-item a,
body.likhun-dark .beatrix-social-widget.beatrix-social-circle .social-icon-item a {
    color: #000000;
    background: rgba(0, 0, 0, 0.05);
}

body.likhun-dark .beatrix-social-widget.beatrix-social-rounded .social-icon-item a:hover,
body.likhun-dark .beatrix-social-widget.beatrix-social-square .social-icon-item a:hover,
body.likhun-dark .beatrix-social-widget.beatrix-social-circle .social-icon-item a:hover {
    background: #3cffd0;
    color: #000000;
}

/* Widget Title Styling */
.widget_beatrix_social_icons .widget-title {
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .beatrix-social-widget .social-icons-list {
        gap: 8px;
    }

    /* Reduce all sizes proportionally on tablets */
    .beatrix-social-widget.beatrix-social-small .social-icon-item a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .beatrix-social-widget.beatrix-social-medium .social-icon-item a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .beatrix-social-widget.beatrix-social-large .social-icon-item a {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .beatrix-social-widget .social-icons-list {
        gap: 6px;
    }

    /* Further reduce sizes on mobile */
    .beatrix-social-widget.beatrix-social-small .social-icon-item a {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .beatrix-social-widget.beatrix-social-medium .social-icon-item a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .beatrix-social-widget.beatrix-social-large .social-icon-item a {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .beatrix-social-widget .social-icons-list {
        gap: 4px;
    }

    /* Extra small screens */
    .beatrix-social-widget.beatrix-social-small .social-icon-item a {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .beatrix-social-widget.beatrix-social-medium .social-icon-item a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .beatrix-social-widget.beatrix-social-large .social-icon-item a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}
