

/* Tabs */
.tabs {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 2px solid #ddd;
}

.tab {
    position: relative;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.tab:hover {
    background: #f0f0f5;
}

.tab i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.tab.active i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 200px;
    border-radius: 4px;
    padding: 5px 0;
}

.dropdown-menu .dropdown-item {
    padding: 10px;
    cursor: pointer;
    color: #333;
    position: relative;
    transition: background-color 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
    background: #f0f0f5;
}

/* Nested Dropdown */
.nested-dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%; /* Default to the right of the parent */
    min-width: 200px;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 5px 0;
}

.dropdown-item:hover .nested-dropdown-menu {
    display: block; /* Show nested dropdown on hover */
}

.nested-item {
    padding: 10px;
    cursor: pointer;
    color: #333;
    transition: background-color 0.3s ease;
}

.nested-item:hover {
    background: #f0f0f5;
}

/* Dynamic Positioning */
.nested-dropdown-menu.position-left {
    left: auto;
    right: 100%; /* Adjust to appear on the left */
}

/* Breadcrumb */
.breadcrumb {
    padding: 10px 15px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    color: black; /* Red text color */
    background-color: transparent;
}

/* Content Area */
.content-area {
    padding: 20px;
    margin-top: 10px;
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
    }

    .dropdown-menu,
    .nested-dropdown-menu {
        width: 100%; /* Full-width dropdowns on smaller screens */
    }

   .nested-dropdown-menu {
        position: relative;
        margin-left: 15px; /* Indent nested items */
        display: block;
        left:0;
    }
}
.content-area .container{
    display: none;
}
.content-area .container.active{
    display: block;
}

