/* ====================================
   AlvoBot Author Box - Public Styles
   Design sóbrio e elegante
   ==================================== */

/* Author Box Container Principal */
.alvobot-author-box {
    margin: 32px 0;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 24px;
    position: relative;
}

/* Título do Author Box */
.alvobot-author-box .author-box-title {
    margin: 0 0 16px 0;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Layout Principal - author-content */
.alvobot-author-box .author-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

@media (max-width: 689px) {
    .alvobot-author-box .author-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Avatar do Autor */
.alvobot-author-box .author-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 2px solid #e5e5e5;
}

.alvobot-author-box .author-avatar img,
.alvobot-author-box .author-avatar .avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

@media (max-width: 689px) {
    .alvobot-author-box .author-avatar {
        width: 72px;
        height: 72px;
        margin-bottom: 8px;
    }
}

/* Informações do Autor */
.alvobot-author-box .author-info {
    flex: 1;
    min-width: 0;
}

.alvobot-author-box .author-name {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.alvobot-author-box .author-name a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.alvobot-author-box .author-name a:hover {
    color: #0066cc;
}

.alvobot-author-box .author-description {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .alvobot-author-box {
        background: #2a2a2a;
        border-color: #404040;
    }

    .alvobot-author-box .author-box-title {
        color: #999;
    }

    .alvobot-author-box .author-avatar {
        border-color: #404040;
        background: #333;
    }

    .alvobot-author-box .author-name a {
        color: #f0f0f0;
    }

    .alvobot-author-box .author-name a:hover {
        color: #66b3ff;
    }

    .alvobot-author-box .author-description {
        color: #bbb;
    }
}

/* Print Styles */
@media print {
    .alvobot-author-box {
        background: #fff;
        border: 1px solid #ccc;
        break-inside: avoid;
    }

    .alvobot-author-box .author-name a {
        color: #000;
        text-decoration: underline;
    }
}
