/* Author Social Media Manager V2.0 - Icons Only (No Labels) */
/* Clean minimal icons without any text labels */

/* ==================== BASE STYLES ==================== */

/* Main Author Social Container */
.asm-author-social {
    margin: 30px 0;
    padding: 20px 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    clear: both;
}

.asm-author-social::before {
    display: none; /* Remove any decorative elements */
}

.asm-author-title {
    margin: 0 0 15px 0;
    display: block;
    line-height: 1.3;
    font-size: inherit;
}

.asm-author-title::before {
    display: none; /* Remove emoji */
}

/* Social Links Container */
.asm-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
    align-items: center;
}

/* ==================== CLEAN SOCIAL LINK STYLES - ICONS ONLY ==================== */

/* Base Social Link - Pure Icon Design */
.asm-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    text-decoration: none;
    color: #333;
    font-size: 0; /* Completely hide any text */
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
    overflow: visible;
    min-height: auto;
    width: 32px;
    height: 32px;
}

.asm-social-link::before {
    display: none; /* Remove any pseudo-elements */
}

.asm-social-link:hover {
    transform: scale(1.2);
    box-shadow: none;
    text-decoration: none;
    background: none;
    border: none;
}

.asm-social-link:focus {
    outline: 2px solid #0073aa;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Icon Styles - Clean and Simple */
.asm-social-icon {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.asm-social-icon.asm-default-icon {
    filter: none;
}

.asm-social-icon.asm-default-icon svg {
    width: 28px;
    height: 28px;
    fill: #333;
    transition: all 0.3s ease;
}

.asm-social-icon.asm-custom-icon {
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.asm-social-icon.asm-custom-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}

/* Social Label - COMPLETELY HIDDEN */
.asm-social-label {
    display: none !important; /* Force hide all labels */
    font-size: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* ==================== PLATFORM-SPECIFIC HOVER COLORS ==================== */

.asm-social-link[data-platform="facebook"]:hover .asm-social-icon svg {
    fill: #1877f2;
}

.asm-social-link[data-platform="twitter"]:hover .asm-social-icon svg {
    fill: #1da1f2;
}

.asm-social-link[data-platform="instagram"]:hover .asm-social-icon svg {
    fill: #e4405f;
}

.asm-social-link[data-platform="linkedin"]:hover .asm-social-icon svg {
    fill: #0077b5;
}

.asm-social-link[data-platform="youtube"]:hover .asm-social-icon svg {
    fill: #ff0000;
}

.asm-social-link[data-platform="tiktok"]:hover .asm-social-icon svg {
    fill: #000000;
}

.asm-social-link[data-platform="pinterest"]:hover .asm-social-icon svg {
    fill: #bd081c;
}

.asm-social-link[data-platform="github"]:hover .asm-social-icon svg {
    fill: #333333;
}

.asm-social-link[data-platform="dribbble"]:hover .asm-social-icon svg {
    fill: #ea4c89;
}

.asm-social-link[data-platform="behance"]:hover .asm-social-icon svg {
    fill: #1769ff;
}

.asm-social-link[data-platform="website"]:hover .asm-social-icon svg,
.asm-social-link[data-platform="blog"]:hover .asm-social-icon svg {
    fill: #0073aa;
}

/* ==================== SHORTCODE STYLES ==================== */
/* Default icon style only - variations removed */

/* ==================== CONTEXT-SPECIFIC STYLES ==================== */

/* Shortcode Context */
.asm-shortcode-wrapper {
    display: block;
    clear: both;
}

.asm-shortcode-wrapper .asm-author-social {
    margin: 0;
}

/* Author Page Context */
.asm-context-author_page .asm-author-social {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

/* Post Context - no additional styling */

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablet */
@media (max-width: 768px) {
    .asm-author-social {
        padding: 15px 0;
        margin: 20px 0;
    }

    .asm-author-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .asm-social-links {
        gap: 10px;
        justify-content: flex-start;
    }

    .asm-social-icon {
        width: 28px;
        height: 28px;
    }

    .asm-social-link {
        width: 28px;
        height: 28px;
    }

    .asm-social-icon.asm-default-icon svg {
        width: 24px;
        height: 24px;
    }

    .asm-social-icon.asm-custom-icon img {
        width: 28px;
        height: 28px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .asm-author-social {
        padding: 12px 0;
        margin: 15px 0;
    }

    .asm-author-title {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .asm-social-links {
        gap: 8px;
        justify-content: flex-start;
    }

    .asm-social-icon {
        width: 26px;
        height: 26px;
    }

    .asm-social-link {
        width: 26px;
        height: 26px;
    }

    .asm-social-icon.asm-default-icon svg {
        width: 22px;
        height: 22px;
    }

    .asm-social-icon.asm-custom-icon img {
        width: 26px;
        height: 26px;
    }
}

/* ==================== ANIMATIONS & EFFECTS ==================== */

/* Entrance Animation */
.asm-author-social.loaded {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Staggered Animation for Icons */
.asm-social-links .asm-social-link {
    animation: fadeInUp 0.4s ease-out backwards;
}

.asm-social-links .asm-social-link:nth-child(1) { animation-delay: 0.1s; }
.asm-social-links .asm-social-link:nth-child(2) { animation-delay: 0.15s; }
.asm-social-links .asm-social-link:nth-child(3) { animation-delay: 0.2s; }
.asm-social-links .asm-social-link:nth-child(4) { animation-delay: 0.25s; }
.asm-social-links .asm-social-link:nth-child(5) { animation-delay: 0.3s; }
.asm-social-links .asm-social-link:nth-child(n+6) { animation-delay: 0.35s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== ACCESSIBILITY ==================== */

/* Focus States */
.asm-social-link:focus-visible {
    outline: 2px solid #0073aa;
    outline-offset: 4px;
    border-radius: 4px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .asm-social-icon.asm-default-icon svg {
        fill: #000;
        stroke: #000;
        stroke-width: 0.5;
    }

    .asm-author-title {
        color: #000;
        font-weight: 700;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .asm-social-link,
    .asm-social-icon,
    .asm-social-links .asm-social-link {
        transition: none;
        animation: none;
    }

    .asm-social-link:hover {
        transform: none;
    }
}

/* ==================== DARK MODE SUPPORT ==================== */

@media (prefers-color-scheme: dark) {
    .asm-author-social {
        background: none;
        color: #fff;
    }

    .asm-author-title {
        color: #fff;
    }

    .asm-social-icon.asm-default-icon svg {
        fill: #ccc;
    }

    .asm-social-link:hover .asm-social-icon svg {
        /* Platform colors remain the same on hover in dark mode */
    }
}

/* ==================== PRINT STYLES ==================== */

@media print {
    .asm-author-social {
        background: none !important;
        box-shadow: none !important;
        border: 1px solid #000 !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .asm-social-link {
        color: #000 !important;
        text-decoration: none;
    }

    .asm-social-link::after {
        content: " (" attr(href) ")";
        font-size: 10px;
        color: #666;
        font-weight: normal;
        position: absolute;
        left: 40px;
        top: 50%;
        transform: translateY(-50%);
        white-space: nowrap;
    }

    .asm-social-icon.asm-default-icon svg {
        fill: #000 !important;
    }
}

/* ==================== UTILITIES ==================== */

/* Center alignment */
.asm-center .asm-social-links {
    justify-content: center;
}

/* Left alignment */
.asm-left .asm-social-links {
    justify-content: flex-start;
}

/* Right alignment */
.asm-right .asm-social-links {
    justify-content: flex-end;
}

/* Hide title completely */
.asm-hide-title .asm-author-title {
    display: none;
}

/* Remove border completely */
.asm-no-border .asm-author-social {
    border: none;
    padding-left: 0;
}

/* Inline display for tight spaces */
.asm-inline {
    display: inline-block;
    margin: 0;
}

.asm-inline .asm-author-social {
    margin: 0;
    padding: 0;
    border: none;
}

.asm-inline .asm-author-title {
    display: none;
}