/* Video Export panel — matches the dark menu palette (#2c3e50 / #34495e / #FFF27F). */

#video_export_panel li { color: #fff; }

#video_export_panel .kf_controls {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

#video_export_panel button {
    background-color: #527aa3;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
}

#video_export_panel button:hover { background-color: #3d5c8a; }

#video_export_panel button:disabled {
    background-color: #44515e;
    color: #8b97a3;
    cursor: not-allowed;
}

#kf_export {
    background-color: #2ab934;
}
#kf_export:hover { background-color: #229a2b; }

.kf_field {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 14px 8px 0;
    font-size: 13px;
}

.kf_field select,
.kf_field input {
    background-color: #34495e;
    color: #fff;
    border: 1px solid #527aa3;
    border-radius: 3px;
    padding: 3px 5px;
    font-size: 13px;
}

/* --- Timeline ----------------------------------------------------------- */
.kf_timeline { margin: 8px 0 4px; }

.kf_track {
    position: relative;
    height: 34px;
    margin: 16px 0 4px;
    border: 1px solid #34495e;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

/* center rail */
.kf_track::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 50%;
    height: 2px;
    background: #527aa3;
    transform: translateY(-50%);
}

.kf_markers { position: absolute; inset: 0; }

.kf_marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}
.kf_marker:active { cursor: grabbing; }

.kf_diamond {
    color: #FFF27F;
    font-size: 16px;
    line-height: 1;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}
.kf_marker:hover .kf_diamond { color: #fff; }

.kf_marker_del {
    display: none;
    margin-left: 2px;
    width: 14px;
    height: 14px;
    line-height: 13px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    background: #ca2222;
    border-radius: 50%;
    cursor: pointer;
}
.kf_marker:hover .kf_marker_del { display: inline-block; }
.kf_marker_del:hover { background: #a31a1a; }

.kf_playhead {
    position: absolute;
    top: -4px;
    bottom: -4px;
    width: 2px;
    background: #2ab934;
    transform: translateX(-1px);
    pointer-events: none;
}
.kf_playhead_handle {
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #2ab934;
}

.kf_time_labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #8b97a3;
}
.kf_time_cur { color: #2ab934; }

.kf_empty {
    color: #8b97a3;
    font-size: 12px;
    padding: 6px 2px 0;
}

.kf_progress {
    width: 100%;
    height: 14px;
    margin-top: 6px;
}

.kf_status {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #FFF27F;
    min-height: 14px;
}
