/* Simple Author Box - Styles (Colorful Edition) */

.simple-author-box {
    --sab-accent: #16a34a;
    --sab-accent-dark: #0f7a34;
    --sab-accent-tint: #eafbf1;
    --sab-border: #e3e8ee;

    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(150deg, #eafcf3 0%, #ffffff 45%, #eef7ff 100%);
    border: 1px solid var(--sab-border);
    border-radius: 18px;
    padding: 26px 24px;
    margin: 32px 0;
    box-shadow: 0 10px 28px rgba(20, 30, 40, 0.08);
    overflow: hidden;
    isolation: isolate;
}

/* রঙিন গ্লো ব্যাকগ্রাউন্ড ইফেক্ট (ব্লব শেপ) */
.simple-author-box::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.22), rgba(34, 197, 94, 0.08) 60%, transparent 75%);
    z-index: -1;
    pointer-events: none;
}

.simple-author-box::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -30px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18), rgba(168, 85, 247, 0.08) 60%, transparent 75%);
    z-index: -1;
    pointer-events: none;
}

/* উপরে রঙিন স্ট্রাইপ */
.sab-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #16a34a, #22c55e, #3b82f6, #a855f7, #f97316);
    background-size: 200% 100%;
    animation: sab-shimmer 6s linear infinite;
}

@keyframes sab-shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.sab-avatar-wrap {
    flex: 0 0 auto;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    padding: 4px;
    background: conic-gradient(from 180deg, #16a34a, #22c55e, #3b82f6, #a855f7, #f97316, #16a34a);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

.sab-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    border: 4px solid #ffffff;
    background: #fff;
}

.sab-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.sab-info {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.sab-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--sab-accent-dark);
    background: var(--sab-accent-tint);
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}

.sab-name {
    margin: 0 0 2px;
    font-size: 19px;
    font-weight: 800;
    color: #16202a;
    line-height: 1.3;
}

.sab-title {
    margin: 0 0 10px;
    font-size: 14px;
    color: #5a6672;
    font-weight: 600;
}

.sab-bio {
    margin: 0 0 14px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #3a4650;
}

.sab-social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sab-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.sab-social-link:hover {
    transform: translateY(-3px) scale(1.08);
    filter: brightness(1.08);
}

.sab-facebook {
    background: linear-gradient(135deg, #1877f2, #4267b2);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.sab-twitter {
    background: linear-gradient(135deg, #333333, #000000);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.sab-youtube {
    background: linear-gradient(135deg, #ff4d4d, #d90000);
    box-shadow: 0 4px 12px rgba(217, 0, 0, 0.4);
}

.sab-quora {
    background: linear-gradient(135deg, #d64b45, #a3201c);
    box-shadow: 0 4px 12px rgba(163, 32, 28, 0.4);
}

.sab-email {
    background: linear-gradient(135deg, #ff6a4d, #ea4335);
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.4);
}

/* ---- মোবাইল / ছোট স্ক্রিনের জন্য অ্যাডজাস্টমেন্ট ---- */
@media (max-width: 560px) {
    .simple-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 22px 16px;
        gap: 12px;
    }

    .sab-avatar-wrap {
        width: 92px;
        height: 92px;
    }

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

    .sab-social-link {
        width: 42px;
        height: 42px; /* মোবাইলে টাচের জন্য একটু বড় */
    }
}
