.stocktable {
	max-width: 90% !important;
	
}

/* Each table row becomes a clickable header area */
.collapsible-row {
    cursor: pointer;
    transition: background 0.3s ease;
}

.collapsible-row:hover {
    background-color: #f9fdf9; /* Subtle green highlight */
}

/* Hide the detailed content by default */
.details-content {
    display: none; 
    padding: 20px 0;
    border-top: 1px dashed #ddd;
    margin-top: 10px;
}

/* Style the 'Preview' area (Name + Small Thumbnail) */
.preview-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
}

.preview-header img {
    width: 60px !important; /* Thumbnail size */
    height: 60px;
    object-fit: cover;
    border-radius: 50%; /* Makes the preview photo circular */
    border: 2px solid #1b3022;
}

.preview-header strong {
    font-size: 1.25rem;
    color: #1b3022;
}

/* The Expand/Collapse Indicator */
.preview-header::after {
    content: '+';
    margin-left: auto;
    font-size: 1.5rem;
    font-weight: bold;
    color: #c5a059;
}

.active .preview-header::after {
    content: '−';
}


.preview-header {
    display: flex;
    align-items: center;
    padding: 15px 0;
    width: 100%;
    cursor: pointer;
}

/* The Species Name (Center-ish) */
.preview-header strong {
    font-size: clamp(16px, 3vw, 18px);
    color: #1b3022;
    margin-left: 20px;
    flex-grow: 1; /* This pushes the h9 to the right */
}

/* Your new h9 preview info (Right side) */
.preview-header h9 {
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    color: #666;
    margin-right: 40px; /* Space before the + sign */
    font-weight: normal;
    display: inline-block;
}

/* Ensure the + sign stays at the very end */
.preview-header::after {
    content: '+';
    font-size: 1.5rem;
    color: #c5a059;
    font-weight: bold;
}
h9 {
    display: inline;
    margin: 0;
    padding: 0;
    font-variant: small-caps; /* Optional: makes the zone info look very professional */
}