/* Patient dropdown menu styles */
.sidebar-dropdown {
    position: relative;
    display: block;
    width: 100%;
}

.sidebar-dropdown > a {
    width: 100%;
    display: flex;
    align-items: center;
}

.sidebar-dropdown-content {
    display: none;
    position: fixed;
    left: 50px; /* Match initial sidebar width */
    top: 0;
    background-color: #f0f0f0;
    min-width: 200px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 0 4px 4px 0;
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
}

.sidebar:hover .sidebar-dropdown-content {
    left: 200px; /* Match expanded sidebar width */
}

/* Show dropdown content on hover */
.sidebar-dropdown:hover .sidebar-dropdown-content {
    display: block;
}

.sidebar-dropdown-content a {
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #333333;
    transition: background-color 0.2s;
    white-space: nowrap;
    font-size: 14px;
    flex: 1;
    justify-content: flex-start;
}

.dropdown-icon {
    display: inline-block;
    width: 20px;
    margin-right: 10px;
    font-size: 16px;
    text-align: center;
}

.sidebar-dropdown-content a:hover {
    background-color: #dddddd;
}

/* Arrow indicator for dropdown */
.dropdown-arrow {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.2s;
}

.sidebar-dropdown:hover .dropdown-arrow {
    transform: rotate(90deg);
}