/* ============================================================
   NAVBAR - Fixed left side navigation bar
   ============================================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 180px;
    height: 100%;
    background-color: #fff8f9;
    border-right: 1px solid #f8bbd0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 70px;  /* yarıya indirildi (90px → 45px) */
    gap: 10px;
    box-sizing: border-box;
    z-index: 999;
}

/* ── Ortak buton stili ── */
.navbar-back,
.navbar-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #e8193c;
    text-decoration: none;
    background: #ffffff;
    border: 1.5px solid #f4c2d0;
    border-radius: 8px;
    padding: 10px 18px;
    width: calc(100% - 24px);
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.12s, box-shadow 0.18s;
    text-align: center;
    line-height: 1.3;
    box-sizing: border-box;
}

.navbar-back:hover,
.navbar-btn:hover {
    background-color: #e8193c;
    color: #ffffff;
    border-color: #e8193c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(232, 25, 60, 0.22);
}

.navbar-back:active,
.navbar-btn:active {
    transform: translateY(0);
}

/* ── Aktif buton stili ── */
.navbar-btn.active {
    background-color: #e8193c;
    color: #ffffff;
    border-color: #e8193c;
    box-shadow: 0 4px 14px rgba(232, 25, 60, 0.25);
}

.navbar-btn.active:hover {
    background-color: #c9102f;
    border-color: #c9102f;
    transform: translateY(-2px);
}

.navbar-back .arrow {
    font-size: 18px;
    line-height: 1;
}

/* ── Back butonu için ayrılmış boşluk ── */
.navbar-back-placeholder {
    width: calc(100% - 24px);
    height: 40px;
    visibility: hidden;
    box-sizing: border-box;
}

/* ── Separator ── */
.navbar-separator {
    width: calc(100% - 24px);
    border: none;
    border-top: 1px solid #f8bbd0;
    margin: 4px 0;
}

/* Sayfa içeriğini sol navbar'ın sağına it */
body {
    padding-left: 180px;
}