/* Profile Sidebar Styles */
.profile-sidebar {
    width: 280px;
    background: var(--ga-color-surface-muted);
    border-radius: var(--ga-radius-lg);
    padding: 20px;
    border: 1px solid var(--ga-color-border);
    height: fit-content;
}

.profile-sidebar h3 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ga-color-text);
    border-bottom: 2px solid var(--ga-color-primary);
    padding-bottom: 8px;
}

.profile-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    gap: 10px;
}

.profile-item:last-child {
    border-bottom: none;
}

.profile-label {
    font-weight: 500;
    color: var(--ga-color-muted);
    font-size: 0.9rem;
    flex-shrink: 0;
    min-width: 80px;
}

.profile-value {
    font-weight: 600;
    color: var(--ga-color-text);
    font-size: 0.9rem;
    text-align: right;
    max-width: 180px;
    word-wrap: break-word;
    line-height: 1.3;
}

.profile-value small {
    font-size: 0.75rem;
    color: var(--ga-color-muted);
    font-weight: 400;
    display: block;
    margin-top: 2px;
}

.profile-value.positive {
    color: var(--ga-color-success-legacy);
}

.profile-value.negative {
    color: var(--ga-color-danger);
}

.profile-value.neutral {
    color: var(--ga-color-muted);
}

/* Support and Resistance Section */
.support-resistance-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #e5e5e5;
}

.support-resistance-section h4 {
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ga-color-text);
    text-align: center;
}

.support-resistance-section .chart-container {
    margin: 10px 0;
}

.support-resistance-section .chart {
    background: var(--ga-color-surface);
    border-radius: var(--ga-radius-sm);
    border: 1px solid var(--ga-color-border);
}

.support-resistance-chart {
    width: 100%;
    height: 100px;
}

/* Mobile responsiveness for profile sidebar */
@media (max-width: 768px) {
    .profile-sidebar {
        width: 100%;
        padding: 15px;
    }

    .profile-item {
        padding: 10px 0;
    }

    .profile-label,
    .profile-value {
        font-size: 0.85rem;
    }

    .profile-value {
        max-width: 150px;
    }

    .support-resistance-section h4 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .profile-sidebar {
        padding: 12px;
    }

    .profile-sidebar h3 {
        font-size: 1rem;
    }

    .profile-label,
    .profile-value {
        font-size: 0.8rem;
    }

    .profile-value {
        max-width: 130px;
    }

    .profile-value small {
        font-size: 0.7rem;
    }

    .support-resistance-section h4 {
        font-size: 0.85rem;
    }
}
