/* Besalp Social Links Widget Styles */

/* Fallback message styles */
.besalp-social-links-message {
    padding: 20px;
    background: #f9f9f9;
    border: 1px dashed #ccc;
    border-radius: 4px;
    text-align: center;
}

.besalp-social-links-message p {
    margin: 0;
    color: #666;
    font-style: italic;
}

/* Container Styles */
.besalp-social-links {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

/* Layout Types */
.besalp-social-links.inline {
    justify-content: center;
    flex-direction: row;
}

.besalp-social-links.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
}

/* Individual Item Styles */
.besalp-social-link-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
}

/* Icon Styles */
.besalp-social-link-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: #333;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

.besalp-social-link-item a:hover {
    background-color: #333;
    color: #fff;
}

/* Icon specific styling */
.besalp-social-link-item a .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Font Awesome icons (used by Site Options) */
.besalp-social-link-item a i[class*="fa-"] {
    font-size: 20px;
    line-height: 1;
    transition: all 0.3s ease;
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", "FontAwesome" !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
}

/* Ensure brand icons use correct font family */
.besalp-social-link-item a i.fab {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
}

/* Ensure solid icons use correct font family */
.besalp-social-link-item a i.fas {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

/* Generic icon fallback */
.besalp-social-link-item a i {
    transition: all 0.3s ease;
}

/* Last item in inline layout should not have right margin */
.besalp-social-links.inline .besalp-social-link-item:last-child {
    margin-right: 0;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .besalp-social-links.grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 479px) {
    .besalp-social-links.grid {
        grid-template-columns: 1fr;
    }
} 