﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;

}
.table-scroll {
    max-height: 450px;
    overflow-y: auto;
    border: 1px solid #ccc;
}

    .table-scroll thead th {
        position: sticky;
        top: 0;
        background-color: #f8f9fa; /* nền sáng để phân biệt với tbody */
        z-index: 10;
    }

@keyframes glow {
    0% {
        box-shadow: 0 0 10px rgba(255, 99, 71, 0.7);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 99, 71, 1);
    }

    100% {
        box-shadow: 0 0 10px rgba(255, 99, 71, 0.7);
    }
}
.carousel-item img {
    width: 50% !important;
    height: 50% !important;
    object-fit: cover !important;
    border-radius: 10px !important;
}
body {
    background: #f5f7fb;
    font-family: "Segoe UI", Arial, sans-serif;
}

.container {
    max-width: 1320px;
}

.page-title {
    margin-top: 32px;
    margin-bottom: 20px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 26px;
    font-weight: 700;
    color: #334155;
    background: linear-gradient(90deg, #e0f2fe, #f8fafc);
    border-left: 6px solid #0ea5e9;
}

.pro-card {
    background: #ffffff;
    border: none;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    padding: 18px;
    margin-bottom: 24px;
}

.table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

    .table thead th {
        background: #f1f5f9 !important;
        color: #0f172a;
        font-weight: 700;
        font-size: 13px;
        vertical-align: middle;
    }

    .table tbody td {
        vertical-align: middle;
    }

.form-control {
    border-radius: 10px;
}

.btn {
    border-radius: 10px;
    font-weight: 600;
}

.btn-primary {
    background: #2563eb;
    border-color: #2563eb;
}

.btn-success {
    background: #059669;
    border-color: #059669;
}

.table-fixed-header {
    background: white;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border: none !important;
}

.kpi-card {
    border-radius: 18px;
    padding: 20px;
    color: white;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    transition: .25s;
}

    .kpi-card:hover {
        transform: translateY(-4px);
    }

.stock-low {
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.stock-mid {
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.stock-good {
    background: #dcfce7;
    color: #166534;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    transition: .3s;
    height: 100%;
}

    .feature-card:hover {
        transform: translateY(-5px);
    }