/* Стили для раскрывающегося меню */
.admin-nav .has-submenu .dropdown-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.admin-nav .has-submenu.active .dropdown-icon {
    transform: rotate(180deg);
}

.admin-nav .has-submenu .parent-link {
    display: flex;
    align-items: center;
}

.admin-nav .submenu {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    padding-left: 20px;
}

.admin-nav .submenu.open {
    height: auto;
}

.admin-nav .submenu li {
    margin-left: 20px;
}

.admin-nav .submenu li a {
    padding: 8px 10px;
    font-size: 0.9em;
}


.demo-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #478ac9;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 20px;
    z-index: 9999;
    font-size: 14px;
    font-weight: 500;
}

.demo-banner-btn {
    background: #fff;
    color: #478ac9;
    padding: 6px 16px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
}

.demo-banner-btn:hover {
    background: #e2e8f0;
}

.demo-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.demo-popup {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.demo-popup h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #1e3a5f;
}

.demo-popup p {
    color: #555;
    margin-bottom: 24px;
}

.demo-popup-btn {
    display: inline-block;
    background: #16a34a;
    color: #fff;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.demo-popup-btn:hover {
    background: #15803d;
}

.demo-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.admin-nav {
    padding-bottom: 60px;
}

.sidebar-footer {
    margin-bottom: 60px;
}
