/**
 * MacOS Toolbar Component Styles
 *
 * Shared styles for the MacOS-style toolbar component.
 * Used in both recording editor and demo viewer.
 */

/* MacOS Toolbar */
.macos-toolbar {
    background: #F5F5F5;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 8px 8px 0 0;
    position: relative;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* MacOS Dots Container */
.macos-dots {
    display: flex;
    gap: 8px;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

/* MacOS Dots */
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.dot.red {
    background: #FF5F57;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #28C840;
}

/* MacOS Title */
.macos-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    max-width: calc(100% - 100px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Responsive adjustments for mobile */
@media (max-width: 767px) {
    .macos-toolbar {
        height: 36px;
        min-height: 36px;
        max-height: 36px;
    }

    .macos-dots {
        gap: 6px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .macos-title {
        font-size: 13px;
    }
}
