/* users-profile.blade.php */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.profile-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: calc(16px * var(--radius-scale));
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.profile-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: calc(50% * var(--radius-scale));
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.05);
}

.profile-info h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.profile-info p {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.profile-icon {
    width: 20px;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.activity-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: calc(12px * var(--radius-scale));
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 450px;
}

.activity-header {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activity-header-icon-star {
    color: var(--warning);
    margin-right: 6px;
}

.activity-header-icon-danger {
    color: var(--danger);
    margin-right: 6px;
}

.activity-header-icon-comment {
    color: var(--info);
    margin-right: 6px;
}

.activity-list {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
    scrollbar-width: thin;
}

.activity-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.85rem;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.activity-type-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.5;
    font-weight: 800;
}

.activity-date {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.activity-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 0;
}

.item-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.item-link:hover {
    text-decoration: underline;
}

.text-color-main {
    color: var(--text-main);
}

.stars {
    color: var(--warning);
    font-size: 0.75rem;
}

.star-empty {
    opacity: 0.3;
}

.vote-rating-label {
    margin-left: 4px;
    color: var(--text-main);
    font-weight: 700;
}

.comment-target-label {
    font-size: 0.8rem;
    opacity: 0.7;
}

.comment-body {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: calc(6px * var(--radius-scale));
    color: var(--text-muted);
    font-style: italic;
    white-space: pre-wrap;
}
