body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.card {
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.btn-primary {
    border-radius: 8px;
    padding: 6px 14px;
}

.table th {
    font-weight: 600;
}

.navbar {
    background: linear-gradient(135deg, #1f2328 0%, #111418 100%) !important;
}

.navbar .container-fluid {
    gap: 12px;
}

.navbar-brand {
    min-width: 0;
    margin-right: 0;
}

.navbar-brand img {
    display: block;
}

.navbar-app-title {
    letter-spacing: 0.2px;
}

.navbar .btn {
    border-radius: 10px;
    padding: 0.45rem 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.navbar .btn .bi {
    font-size: 0.95rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navbar .btn-outline-light:hover {
    color: #111 !important;
    background-color: #fff;
    border-color: #fff;
}

.navbar-btn-active {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 6px 18px rgba(255, 255, 255, 0.10);
    transform: translateY(-1px);
}

.navbar-main-links {
    flex: 0 1 auto;
}

.navbar-main-links .btn {
    flex: 0 0 auto;
}

.navbar-right-block {
    flex: 0 0 auto;
}

.navbar-user-badge {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
}

.navbar-user-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
}

.navbar-status-badge {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(16, 185, 129, 0.30));
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: all .15s ease;
}

.navbar-status-badge .bi {
    color: #60a5fa;
    font-size: 1rem;
}

.navbar-status-badge span {
    color: rgba(255,255,255,0.95);
}

.navbar-status-badge:hover {
    transform: translateY(-1px);
    opacity: .9;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    display: inline-block;
}

/* XL altı: sol menü logo yanından ayrılır */
@media (max-width: 1199.98px) {
    .navbar-main-links {
        width: 100%;
    }

    .navbar-right-block {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    .navbar-nav {
        margin-top: 0.5rem;
    }

    .navbar-main-links {
        width: 100%;
        justify-content: flex-start;
    }

    .navbar-right-block {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .navbar-user-badge,
    .navbar-status-badge {
        justify-content: center;
    }
}

/* Mobil */
@media (max-width: 767.98px) {
    .navbar-main-links,
    .navbar-right-block {
        flex-direction: column;
        width: 100%;
    }

    .navbar-main-links .btn,
    .navbar-right-block .btn,
    .navbar-user-badge,
    .navbar-status-badge {
        width: 100%;
        justify-content: center;
    }
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

.stock-actions .btn,
.stock-filter-group .btn {
    border-radius: 10px;
    white-space: nowrap;
}

.stock-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stock-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    flex: 0 0 auto;
}

.stock-filter-group .btn {
    min-width: 96px;
}

/* Tablet */
@media (max-width: 1199.98px) {
    .stock-actions {
        justify-content: flex-start;
    }

    .stock-actions .btn {
        flex: 0 0 auto;
        width: auto;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .stock-actions {
        flex-direction: column;
        width: 100%;
    }

    .stock-actions .btn {
        width: 100%;
    }

    .stock-filter-group {
        width: 100%;
        display: flex;
    }

    .stock-filter-group .btn {
        flex: 1 1 0;
        min-width: 0;
    }
}

.home-header-actions {
    justify-content: flex-end;
}

.home-header-actions .btn {
    white-space: nowrap;
    flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    .home-header-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .home-header-actions {
        width: 100%;
        flex-direction: column;
    }

    .home-header-actions .btn {
        width: 100%;
    }
}

.today-stock-actions {
    justify-content: flex-end;
}

.today-stock-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    .today-stock-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .today-stock-actions {
        width: 100%;
        flex-direction: column;
    }

    .today-stock-actions .btn {
        width: 100%;
        justify-content: center;
    }
}


