﻿.AGABNav-Menu {
    list-style: none;
    padding: 15px 10px;
}

.astralbookcss {
    margin-bottom: 8px;
    border-radius: 10px;
    overflow: hidden;
    background: #1D1D1F;    
}

.astralbookcss-header {
    padding: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

    .astralbookcss-header:hover {
        background: rgba(0, 82, 204, 0.2);        
    }

.astralbookcss-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.astralbookcss-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    /*font-size: 16px;*/
}

.astralbookcss-title {
    /*font-size: 15px;*/
    font-weight: 500;
    color: #b0b4b9;
}

.astralbookcss-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.astralbookcss-arrow {
    transition: transform 0.3s;
    font-size: 12px;
    color: #667eea;
}

.astralbookcss.expanded .astralbookcss-arrow {
    transform: rotate(90deg);
}

.agabmenu-btn {
    background: none;
    border: none;
    color: #718096;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 5px;
    /*font-size: 18px;*/
    transition: all 0.2s;
    position: relative;
}

    .agabmenu-btn:hover {
        background: #cbd5e0;
        color: #2d3748;
    }

.agabdropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 180px;
    z-index: 1002;
    display: none;
    overflow: hidden;
}

    .agabdropdown-menu.active {
        display: block;
    }

.agabdropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s;
    color: #2d3748;
    /*font-size: 14px;*/
    display: flex;
    align-items: center;
    gap: 10px;
}

    .agabdropdown-item:hover {
        background: #f7fafc;
    }

    .agabdropdown-item.delete:hover {
        background: #fee;
        color: #e53e3e;
    }

.sub-astralbookcss-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #06bdc6;
    padding: 0 10px;
}

.astralbookcss.expanded .sub-astralbookcss-list {
    max-height: 100%;
    padding: 10px;
    /*padding: 0px;*/
}

.sub-astralbookcss {
    padding: 2px 3px;
    /*/padding: 12px 15px;*/
    cursor: pointer;
    transition: all 0.2s;
    /*font-size: 14px;*/
    border-radius: 8px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4a5568;
}

    .sub-astralbookcss:hover {
        background: #edf2f7;
        padding-left: 20px;
    }

.sub-astralbookcss-icon {
    width: 6px;
    height: 6px;
    background: #667eea;
    border-radius: 50%;
    margin-right: 10px;
}
