/* Container for navigation */
.container {
    margin: 0 auto;
    padding-top: 1.25rem;
    position: relative;
    z-index: 100;
}

/* Navigation Styles */
.navigation {
    margin-bottom: 2rem;
}

.nav-wrapper {
    max-width: 48rem;
    margin: 0 auto;
}

.nav-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3.5rem;
    padding: 0 0.75rem;
    background-color: #353535;
    border: 1px solid #444;
    border-radius: 0.5rem;
    z-index: 10;
    box-shadow: 0 15px 50px -12px rgba(0, 0, 0, 0.1);
}

.brand {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
    z-index: 20;
}

.brand-logo {
    height: 2rem;
    width: 2rem;
    margin-right: 10px;
}

.brand-name {
    font-weight: 600;
    margin-top: 0;
}

.nav-actions {
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.nav-actions .nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
}

.nav-actions .nav-link:hover {
    color: #ddd;
    text-decoration: underline;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    cursor: pointer;
    user-select: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    min-width: 320px;
    background-color: #353535;
    border: 1px solid #444;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 0.5rem;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.dropdown-item {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: #fff;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
    align-items: center;
}

.dropdown-item:hover {
    background-color: #404040;
}

.dropdown-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: #DA614C;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

.dropdown-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.dropdown-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.dropdown-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.3;
}

.dropdown-item-description {
    font-size: 0.85rem;
    color: #bbb;
    line-height: 1.4;
}

.box-overlay {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    bottom: -1px;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(40, 40, 40, 0.4) 15%,
        rgba(40, 40, 40, 0.7) 50%,
        rgba(40, 40, 40, 0.4) 85%,
        transparent 100%);
}
