/* Social Media Component Styles */
.social-style1 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-title {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin: 0;
}

.social-icon {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #264493;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-icon a:hover {
    background: #1a2f5e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Platform-specific colors */
.social-icon a[title*="Facebook"]:hover {
    background: #1877f2;
}

.social-icon a[title*="Twitter"]:hover {
    background: #1da1f2;
}

.social-icon a[title*="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-icon a[title*="LinkedIn"]:hover {
    background: #0077b5;
}

.social-icon a[title*="YouTube"]:hover {
    background: #ff0000;
}

.social-icon a[title*="TikTok"]:hover {
    background: #000000;
}

.social-icon a[title*="Snapchat"]:hover {
    background: #fffc00;
    color: #000;
}

.social-icon a[title*="Telegram"]:hover {
    background: #0088cc;
}

.social-icon a[title*="WhatsApp"]:hover {
    background: #25d366;
}

.social-icon a[title*="Discord"]:hover {
    background: #5865f2;
}

/* Footer specific styles */
.footer-wrapper .social-style1 {
    margin-top: 20px;
}

.footer-wrapper .social-title {
    color: #fff;
}

.footer-wrapper .social-icon a {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.footer-wrapper .social-icon a:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

/* Header specific styles */
.header-top .social-style1 {
    margin: 0;
}

.header-top .social-title {
    color: #666;
    font-size: 13px;
}

.header-top .social-icon a {
    width: 30px;
    height: 30px;
    font-size: 12px;
}

/* Blog details specific styles */
.post-admin__social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.post-admin__social .social-icon a {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-style1 {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .social-icon {
        justify-content: center;
    }

    .header-top .social-style1 {
        flex-direction: row;
        gap: 10px;
    }
}

/* Admin panel styles */
.admin-social-media-table .social-icon {
    justify-content: center;
}

.admin-social-media-table .social-icon a {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

/* Status badges */
.badge-success {
    background-color: #28a745;
    color: white;
}

.badge-danger {
    background-color: #dc3545;
    color: white;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

/* Icon Selector Styles */
.icon-selector {
    max-height: 300px;
    overflow-y: auto;
}

.icon-selector option {
    padding: 8px 12px;
    font-size: 14px;
}

.icon-selector optgroup {
    font-weight: bold;
    color: #264493;
    background-color: #f8f9fa;
}

/* Icon Preview */
.icon-preview {
    display: inline-block;
    margin-left: 10px;
    font-size: 18px;
    color: #264493;
}

/* Custom Select with Icons */
select[name="icon"] {
    font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands', sans-serif;
}

select[name="icon"] option {
    font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands', sans-serif;
}

/* Icon Categories */
.icon-category {
    font-weight: bold;
    color: #264493;
    background-color: #e3f2fd;
    padding: 5px 10px;
    margin: 5px 0;
    border-radius: 4px;
}

/* Responsive Icon Selector */
@media (max-width: 768px) {
    .icon-selector {
        max-height: 200px;
    }

    .icon-selector option {
        padding: 6px 8px;
        font-size: 12px;
    }
}
