/* /home/admin/web/apps/mindalai_app/static/css/navbar.css */
.navbar {
    background-color: #007bff;
    padding: 0.3rem 1.1rem;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 40px;
}

.navbar button {
    background-color: #ffffff;
    color: #007bff;
    border: none;
    padding: 0.1rem 0.5rem;
    cursor: pointer;
    border-radius: 5px;
}

.navbar button:hover {
    background-color: #e0e0e0;
}

.menu-btn {
    font-size: 24px;
    padding: 0.5rem;
}

.menu-content {
    display: none;
    position: fixed;
    top: 0;
    width: 250px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
    padding: 1rem;
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
}

#nav-menu {
    left: -250px;
    z-index: 1002;
}

#theme-menu {
    right: -250px;
    left: auto;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-content.open {
    display: block;
}

#nav-menu.open {
    left: 0;
}

#theme-menu.open {
    right: 0;
}

.menu-content a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem;
    margin: 0.5rem 0;
    border-radius: 5px;
}

.menu-content a:hover {
    background-color: #f1f1f1;
}

.menu-footer {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem;
    margin: 0.5rem 0;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 10px;
}

#announcement {
    flex-grow: 1;
    text-align: center;
    color: #ffffff;
    font-size: 16px;
}

.navbar-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.theme-section {
    margin-bottom: 1rem;
}

.theme-section h3 {
    font-size: 14px;
    margin: 0 0 0.5rem 0;
    color: #767676;
}

.theme-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: space-between;
}

.theme-option {
    flex: 0 0 calc(33.33% - 0.4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.24rem;
}

.theme-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.theme-option input[type="radio"] {
    display: none;
}

.theme-option .toggle {
    position: relative;
    width: 32px;
    height: 16px;
    background-color: #ccc;
    border-radius: 16px;
    transition: background-color 0.3s;
}

.theme-option .toggle::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    left: 2px;
    top: 2px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.theme-option input[type="radio"]:checked + .toggle {
    background-color: #007bff;
}

.theme-option input[type="radio"]:checked + .toggle::after {
    transform: translateX(16px);
}

.theme-option span.icon {
    font-size: 14px;
}

.theme-option.font-size-small span.icon {
    font-size: 10px;
}

.theme-option.font-size-medium span.icon {
    font-size: 13px;
}

.theme-option.font-size-large span.icon {
    font-size: 16px;
}

.theme-option.scale-normal span.icon {
    font-size: 13px;
}

.theme-option.scale-medium span.icon {
    font-size: 16px;
}

.theme-option.scale-large span.icon {
    font-size: 19px;
}