.main-container {
  width: 100%;
  background-color: var(--bg-card);
  margin: 20px auto;
  padding: 10px 0;
  border-radius: 12px;
  box-shadow: var(--shadow-main);
  font-family: -apple-system, system-ui, sans-serif;
  overflow: hidden;
}

.menu1-container {
  background-color: var(--bg-container);
  margin: 12px 0;
  padding: 8px;
  border-radius: 12px;
}

.menu-profile-container{
  background-color: var(--bg-container);
  margin: 12px 0;
  padding: 8px;
  border-radius: 12px;
}

.menu-container {
  background-color: var(--bg-container);
  margin: 12px 0;
  /* padding-i silirik və ya 0 edirik ki, daxildəki item tam kənarlara yapışsın */
  padding: 4px 0; 
  border-radius: 12px;
  overflow: hidden; /* Künclərin səliqəli qalması üçün */
}


/* 1. STABİL BLOK (Profil ID kimi yerlər üçün - Rəng dəyişmir) */
.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: transparent;
    cursor: default;
    gap: 3px;
}


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

.__or {
    color: #d76200;
}

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

/* Yalnız .menu-link kliklənəndə rəng alacaq */
.menu-link:hover, 
.menu-link:active {
    background-color: var(--bg-item-hover);
}


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

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

/* Əgər subtext hər iki yerdə (həm item, həm link) eyni görünsün */
.menu-item .menu-subtext, 
.menu-link .menu-subtext {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 2px;
    display: block;
}

.menu-subtext {
    line-height: 1.4;
}

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

.menu-title {
    padding: 8px 16px 4px 16px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    /*flex-direction: column;*/
    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;
  width: auto;
  margin: 4px 16px 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;
    /*cursor: pointer;*/
    margin-bottom: 15px;
    align-content: stretch;
    flex-direction: column;
}



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

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

.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;
    letter-spacing: 0;
    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; /*opacity: 0.6;*/ 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; 
}




/* Əsas qutu */
.post-container {
    position: relative;
    display: block;
}

/* Üç nöqtə düyməsi */
.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);
}


/* Açılan menyu (Dropdown) */
.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; /* İlkin olaraq gizli */
}

/* Aşağıya açılan vəziyyət */
.drop-box.open-down {
    display: block;
    top: 30px; /* Düymənin bir az aşağısında */
}

/* Yuxarıya açılan vəziyyət */
.drop-box.open-up {
    display: block;
    bottom: 30px; /* Düymənin bir az yuxarısında */
}

/* Menyudakı linklər */
.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;
}

/* Bütün səhifənin skrol barını həmişə aktiv və səliqəli edirik */
::-webkit-scrollbar {
    width: 8px; /* Çubuğun eni */
    height: 8px; /* Üfüqi skrolun hündürlüyü */
    display: block !important; /* Həmişə aktiv saxla */
}

/* Skrolun keçdiyi yol (Arxa fonu) */
::-webkit-scrollbar-track {
    background: #fff; /* Fon rəngi */
}

/* Sürüşən çubuğun özü */
::-webkit-scrollbar-thumb {
    background: #d6d6d6; /* Narıncı rəngi */
    border-radius: 10px; /* Kənarlarını yumru edirik */
    border: 2px solid #fff; /* Fonla arasında boşluq hissi yaradır */
}

/* Çubuğun üzərinə gələndə rəngi bir az tündləşsin */
::-webkit-scrollbar-thumb:hover {
    background: #9d9d9d;
}

/* Firefox brauzeri üçün xüsusi dəstək */
html {
    scrollbar-width: auto;
    scrollbar-color: #d6d6d6 #fff;
}
