.details-view {
    display: none;
    position: absolute;
    background-color: #2A2A2A; /* Lighter gray for better contrast, matches CI */
    border: 1px solid #333333; /* Match CI content-area border */
    padding: 10px;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1); /* Match CI shadow */
    z-index: 1000;
    max-width: 250px;
    position: relative; /* Ensure relative positioning for absolute child */
}

.details-view .details-link {
    color: #FFFFFF; /* CI highlighted text for visibility on dark background */
    text-decoration: underline;
    display: block;
    margin-top: 5px;
}

.details-view .details-link:hover {
    color: #6600CC; /* CI accent color for hover */
}

.details-view .close-button {
    position: absolute;
    top: 5px;
    right: 5px; /* Ensure upper right corner */
    border: none;
    background: none;
    font-size: 1.2em;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    z-index: 1001; /* Ensure it stays above other content */
    color: #CCCCCC; /* CI lowlighted text for visibility */
}

.details-view .close-button:hover {
    color: #7A00FF; /* CI accent hover color */
}

.vendor-info {
    background-color: #FFFFFF;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #CCCCCC;
    width: 100%; /* Span full width of content-area */
    box-sizing: border-box; /* Include padding in width calculation */
}

.vendor-logo {
    height: 50px;
    width: auto;
    max-width: 100px;
}

.vendor-info-text {
    margin-left: 10px;
    flex-grow: 1; /* Allow text to grow and fill available space */
    max-width: none; /* Remove fixed max-width to adapt to content */
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.standards-content {
    padding: 10px;
    flex: 1; /* Allow standards content to take remaining space */
    width: 100%; /* Ensure it can expand */
}

.content-area {
    margin-right: 0rem;
    margin-left: 0rem;
}

.back-button {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

.back-button:hover {
    background-color: #e0e0e0;
}