/*.info-box h2 {*/
/*    margin-top: 0;*/
/*    font-size: 18px;*/
/*}*/

/*.info-box p {*/
/*    margin: 5px 0;*/
/*}*/

/*.info-box .close-btn {*/
/*    position: absolute;*/
/*    top: 10px;*/
/*    right: 10px;*/
/*    cursor: pointer;*/
/*    font-size: 16px;*/
/*    color: #666;*/
/*}*/

/*.info-box .close-btn:hover {*/
/*    color: #000;*/
/*}*/

/* floating info panel */

/* title bar */
.info-box-header {
    background-color: #f5f7fa;
    padding: 8px 16px;
    border-bottom: 1px solid #e5e9f2;
    position: relative;
}

.info-box-header h3 {
    color: #1d2129;
    font-size: 16px;
    font-weight: 600;
    margin-left: 30px;
}

/* close button */
.close-btn {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #86909c;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: #1d2129;
}



/* content area */
.info-box-content {
    padding: 16px;
    overflow-y: auto;
    max-height: 90%;
}


.info-box-content.expanded .dropdown-arrow {
    transform: rotate(180deg);
}
.info-item {
    margin-bottom: 16px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h4 {
    color: #4e5969;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 500;
}

.content-block {
    color: #1d2129;
    font-size: 14px;
    line-height: 1.5;
    padding: 8px 10px;
    background-color: #f7f8fa;
    border-radius: 4px;
    min-height: 36px;
}

/* hidden state */
.info-box.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}


.video-button,
.file-button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 4px 8px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    position: relative;
}

.video-button:hover::after,
.file-button:hover::after {
    content: attr(data-description);
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px;
    border-radius: 5px;
    z-index: 1;
}
