:root {
    --dark-bg-color: #1a1a1a;
}

.header {
    background: var(--dark-bg-color);
    padding: .75rem 1rem;
    width: 1920px;
    margin: 0 auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

/* Flex utilities */
.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

/* Left and right sections */
.header-left,
.header-right {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* Text styling */
.text-light {
    color: #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px; /* Add gap between text and icons */
}

.text-light p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

/* Download section styling */
.download-text {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

/* Icons container */
.chevron-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.line-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG icon styling */
.line-icon svg,
.chevron-icon svg,
.download-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0; /* Prevent SVG from shrinking */
}

/* Gap utilities */
.gap-1 {
    gap: 4px;
}

.gap-2 {
    gap: 8px;
}

/* Cursor */
.cursor-pointer {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.cursor-pointer:hover {
    opacity: 0.8;
}

.header [role="button"]:focus-visible {
    outline: 3px solid rgba(255, 77, 79, 0.95);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ensure everything stays in one line */
.header-container > * {
    flex-shrink: 0;
}

/* Prevent wrapping */
.header,
.header-container,
.header-left,
.header-right,
.text-light,
.download-text {
    white-space: nowrap;
    overflow: hidden;
}

/* Ensure download section items are aligned */
.header-right .flex {
    align-items: center;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        width: 100%;
        padding: 0.5rem;
    }

    .text-light p,
    .download-text {
        font-size: 12px;
    }
}