/* Alt Eylem ve Navigasyon Çubuğu (Full-Width Bottom Bar + Elevated AI FAB) */

/* CSS değişkenleri */
:root {
    --nav-bar-height: 64px;
    --nav-fab-size: 56px;
}

.bottom-nav-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}

.bottom-toolbar {
    pointer-events: auto;
    width: 100%;
    background: #202924;
    border-top: 1px solid #2f3c35;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 24px rgba(32, 41, 36, 0.35);
    display: flex;
    align-items: center;
    padding: 0 24px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    height: var(--nav-bar-height);
    position: relative;
    overflow: visible;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 100%;
    padding-right: 80px; /* Sağdaki FAB için boşluk */
}

.toolbar-btn {
    background: transparent;
    border: none;
    outline: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a1aea6;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.toolbar-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.toolbar-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.toolbar-btn:active {
    transform: scale(0.92);
}

.toolbar-btn.active {
    color: #ffffff;
}

.toolbar-btn.active svg {
    transform: scale(1.1);
}

/* Sağda Yükseltilmiş AI Butonu — barın üst kenarından yarıya kadar dışarı taşıyor */
.toolbar-ai-btn {
    position: absolute;
    right: 20px;
    /* FAB merkezi barın üst kenarı hizasında: bar yüksekliğinin tamamı - FAB yarıçapı */
    bottom: calc(var(--nav-bar-height) - var(--nav-fab-size) / 2 + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(135deg, #4a6b57 0%, #2b4434 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    outline: none;
    width: var(--nav-fab-size);
    height: var(--nav-fab-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(74, 107, 87, 0.5), 0 0 20px rgba(74, 107, 87, 0.3);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    z-index: 10;
}

.toolbar-ai-btn svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.toolbar-ai-btn:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 14px 30px rgba(74, 107, 87, 0.65), 0 0 25px rgba(74, 107, 87, 0.4);
}

.toolbar-ai-btn:active {
    transform: scale(0.95);
}

.toolbar-ai-btn.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.4), 0 12px 28px rgba(16, 185, 129, 0.6);
}

/* Eski FAB uyumluluğu */
.fab-container {
    display: none !important;
}