/* --- Konteynerlər --- */
.menu1-container,
.menu-profile-container {
    background-color: var(--bg-container);
    margin: 12px 0;
    padding: 8px;
    border-radius: 12px;
}

.menu-container {
    background-color: var(--card-bg);
    padding: 4px 0;
    margin-bottom: 12px; 
    border-radius: 12px;
    overflow: hidden;
}

/* --- Menyu Elementləri və Linklər --- */
.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: transparent;
    cursor: default;
    gap: 3px;
}

.menu-item span {
    color: var(--text-main);
} 

.menu-link {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    background-color: transparent;
    transition: background 0.2s;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.menu-link:hover {
    background-color: var(--menu-btn-bg);
}

.menu-link.active {
    background: var(--menu-btn-bg);
    box-shadow: inset 0 -3px 0 0 var(--accent-color);
}

.__or,
.menu-link .__or {
    color: #d76200;
}

.menu-icon {
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
}

.menu-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-item .menu-subtext, 
.menu-link .menu-subtext,
.menu-subtext {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 2px;
    line-height: 1.4;
    display: block;
}

.menu-new {
    background: #2fb675; 
    color: #fff; 
    padding: 4px 8px; 
    border-radius: 12px; 
    font-size: 12px; 
    line-height: 16px;
}

.menu-right {
    margin-right: 8px;
    font-size: 14px;
}

/* --- Başlıqlar və Divider --- */
.menu-title {
    padding: 8px 16px 4px 16px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    cursor: default;
    user-select: none;
}

.menu-title-text {
    font-size: 17px;
    line-height: 20px;
}

.menu-title-aside {
    margin-left: auto;
    align-self: center;
    display: flex;
}

.menu-title_subtext {
    padding: 5px 18px;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.4;
}

.menu-divider {
    background-color: var(--line-color);
    height: 1px;
    margin: 4px 16px;
    transition: border-color 0.3s ease;
}

.menu-border {
    background: var(--bg-body);
    padding: 0 5px 5px;
}

.menu-card {
    display: flex;
    padding: 12px;
    background-color: #fff9db;
    border-radius: 10px;
    margin-bottom: 15px;
    align-content: stretch;
    flex-direction: column;
}

.arrow {
    color: var(--text-sub);
    font-weight: bold;
}

a {
    text-decoration: none;
    cursor: pointer;
}

/* --- Elementlər və Nişanlar --- */
.top-number {
    box-sizing: border-box;
    position: absolute;
    bottom: -2px;
    left: -2px;
    height: 22px;
    width: 22px;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    text-align: center;
    border: 2px solid #ffffff;
    background-color: #607D8B;
    color: #ffffff;
    border-radius: 50%;
}

.not-found { 
    text-align: center; 
    padding: 60px 20px; 
}
.not-found img { 
    width: 112px; 
    margin-bottom: 15px; 
}
.not-found p { 
    color: #a4b0be; 
    font-size: 15px; 
}

.ep-stub-cnt { 
    display: flex;
    max-width: -webkit-calc(80% + 2em);
    margin: 4em auto;
    flex-direction: column;
    align-items: center;
}

.ep-ttl-img { 
    width: 112px; 
}

.ep-ttl-txt { 
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    margin-top: 16px;
}

.ep-descr { 
    font-size: 14px;
    line-height: 19px;
    color: rgba(46, 47, 51, .64);
    margin-top: 8px; 
}

/* --- Dropdown (Açılan Menyu) --- */
.post-container {
    position: relative;
    display: block;
}

.more-menu {
    cursor: pointer;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    border-radius: 50%;
}

.more-menu:hover {
    background: rgba(0, 0, 0, 0.05);
}

.drop-box {
    position: absolute;
    right: 0;
    z-index: 1000;
    background: #fff;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #f0f0f0;
    padding: 6px;
    display: none;
}

.drop-box.open-down {
    display: block;
    top: 30px;
}

.drop-box.open-up {
    display: block;
    bottom: 30px;
}

.drop-link {
    display: flex;
    align-items: center;
    padding: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    border-radius: 8px;
    transition: background 0.2s;
}

.drop-link:hover {
    background: #f5f5f5;
}

.drop-link .fi {
    margin-right: 10px;
    color: #65676b;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    display: block !important;
}

::-webkit-scrollbar-track {
    background: #fff;
}

::-webkit-scrollbar-thumb {
    background: #d6d6d6;
    border-radius: 10px;
    border: 2px solid #fff;
}

::-webkit-scrollbar-thumb:hover {
    background: #9d9d9d;
}

html {
    scrollbar-width: auto;
    scrollbar-color: #d6d6d6 #fff;
}