﻿/* Shared top title bar layout */

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background-color: #000000;
    border-bottom: 1px solid #ddd;
}

.page-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #007FFF;
    margin: 0;
    flex: 0 1 auto;
}

.top-bar-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
    width: 100%;
}

.scrip-dropdown,
.scripGroup-dropdown {
    font-size: 1.1rem;
    font-weight: bold;
    padding: 6px 10px;
    min-width: 100px;
    background-color: darkorange;
    color: #000000;
    border: 1px solid #a85a00;
    border-radius: 4px;
}

.timeline-performance-panel {
    border: 4px solid rgba(33, 37, 41, 1);
    transition: border-color 0.2s ease-in-out;
}

    .timeline-performance-panel:hover {
        border-color: darkorange;
        cursor: pointer;
    }

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .page-title {
        font-size: 1.4rem;
    }

    .top-bar-controls {
        justify-content: flex-start;
    }

    .top-bar-actions {
        justify-content: flex-start;
        gap: 12px;
    }
}
