/* =====================================================
   440MUSIC GLOBAL NAVIGATION MENU STYLES
   Shared between Laravel + Roundcube
   ===================================================== */

/* Base Navigation Styles */
nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #000;
    color: #ff0;
}

nav ul li {
    position: relative;
    margin: 0 10px;
}

/* Link & Button Styling */
nav ul li a,
nav ul li button,
.dropbtn {
    padding: 8px 12px;
    font-size: 14px;
    color: #fff;
    background: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

nav ul li a:hover,
nav ul li button:hover,
.dropbtn:hover {
    color: #ff0;
}

/* =====================================================
   DROPDOWN SUPPORT (Laravel style + Roundcube compatibility)
   ===================================================== */

/* Generic dropdown support for Roundcube */
.dropdown {
    position: relative;
}

/* Button inside dropdown */
.dropbtn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

/* Dropdown content (Roundcube uses .dropdown-content) */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000;
    border: 1px solid #ff0;
    min-width: 180px;
    z-index: 2000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Dropdown links */
.dropdown-content a {
    display: block;
    padding: 8px 10px;
    color: #fff;
    font-size: 13px;
    text-align: left;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #333;
    color: #ff0;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* =====================================================
   SUPPORT FOR OLD LARAVEL CLASSES (dropdown1,2,3)
   Still here for backwards compatibility
   ===================================================== */

.dropdown1,
.dropdown2,
.dropdown3 {
    position: relative;
}

.dropbtn1,
.dropbtn2,
.dropbtn3 {
    font-size: 14px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-content1,
.dropdown-content2,
.dropdown-content3 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000;
    border: 1px solid #ff0;
    min-width: 180px;
    z-index: 2000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.dropdown-content1 a,
.dropdown-content2 a,
.dropdown-content3 a {
    display: block;
    padding: 8px 10px;
    color: #fff;
    font-size: 13px;
    text-align: left;
    text-decoration: none;
}

.dropdown-content1 a:hover,
.dropdown-content2 a:hover,
.dropdown-content3 a:hover {
    background-color: #333;
    color: #ff0;
}

.dropdown1:hover .dropdown-content1,
.dropdown2:hover .dropdown-content2,
.dropdown3:hover .dropdown-content3 {
    display: block;
}

/* =====================================================
    Horizontal layout
   ===================================================== */
.menu-horizontal {
    display: flex;
    flex-direction: row;
}