body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand .logo-text {
    font-weight: bold;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 1px;
}

.footer {
    background-color: #343a40;
    color: #fff;
    padding: 1rem 0;
    margin-top: auto;
}

/* Login page styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.login-box {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 0.5rem;
}

/* Dashboard styles */
.dashboard-card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Table styles */
.table-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 2rem;
}

.table-responsive {
    overflow-x: auto;
}

.table th {
    background-color: #f8f9fa;
}

/* Form styles */
.form-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-title {
    margin-bottom: 1.5rem;
    color: #007bff;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-box {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}

/* Alert styles */
.alert {
    border-radius: 8px;
}

/* Card styles for inventory items */
.item-card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.item-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Filter section styles */
.filter-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

/* Badge styles */
.badge-primary {
    background-color: #007bff;
}

.badge-success {
    background-color: #28a745;
}

.badge-danger {
    background-color: #dc3545;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-info {
    background-color: #17a2b8;
}

/* Action buttons */
.action-buttons .btn {
    margin-right: 0.5rem;
}

.action-buttons .btn:last-child {
    margin-right: 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}




/* Dashboard Enhancements */
.dashboard-card {
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    border: none;
    border-radius: 15px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1), -5px -5px 15px rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease-in-out;
}

.dashboard-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.15), -10px -10px 20px rgba(255, 255, 255, 0.8);
}

.dashboard-icon {
    font-size: 3rem; /* Increased icon size */
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard-card h3 {
    font-size: 2rem; /* Larger number */
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.dashboard-card p {
    font-size: 0.9rem; /* Slightly smaller text */
    color: #555;
}

.dashboard-card .btn {
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Specific icon colors */
.dashboard-icon.text-primary { color: #0d6efd; }
.dashboard-icon.text-success { color: #198754; }
.dashboard-icon.text-danger { color: #dc3545; }
.dashboard-icon.text-warning { color: #ffc107; }

/* Quick Access Card */
.card-header.bg-primary {
    background: linear-gradient(to right, #007bff, #0056b3) !important;
    border-radius: 15px 15px 0 0;
}

.card-body .btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card-body .btn-block i {
    margin-right: 0.75rem; /* Increased space */
    font-size: 1.1rem;
}

.card-body .btn-block:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



/* Navbar Active Tab Styling - Reference Image */
.navbar-dark .navbar-nav .nav-item.active .nav-link {
    font-weight: bold;
    background-color: #005cbf; /* Lighter blue background for active tab */
    border-radius: 5px;
    color: #ffffff !important; /* Ensure text is white */
}

.navbar-dark .navbar-nav .nav-link i {
    margin-right: 5px; /* Add space between icon and text */
}


/* Dashboard Typography & Alignment Enhancements */
.dashboard-card-stat .stat-value {
    font-size: 2.2rem; /* Slightly adjusted size */
    font-weight: 700; /* Bolder */
    line-height: 1.1;
}

.dashboard-card-stat .stat-label {
    font-size: 0.95rem; /* Slightly larger label */
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 0;
}

.dashboard-card-stat .stat-icon {
    font-size: 2.8rem; /* Slightly adjusted icon size */
    opacity: 0.7;
}

.dashboard-card-stat a small {
    font-weight: 500;
}

.chart-container h5 {
    font-weight: 600; /* Bolder chart titles */
    color: #495057; /* Darker title color */
    margin-bottom: 1rem; /* Consistent margin */
}

.table-transactions th {
    font-weight: 600; /* Bolder table headers */
    text-align: left; /* Align header text left */
    vertical-align: middle;
}

.table-transactions td {
    vertical-align: middle; /* Align cell content vertically */
    text-align: left; /* Align cell text left */
}

/* Align specific columns if needed, e.g., quantity */
.table-transactions td:nth-child(4), /* Quantity column */
.table-transactions th:nth-child(4) {
    text-align: center; /* Center align quantity */
}

.card-header h5 {
     font-weight: 600; /* Bolder card headers */
     color: #343a40;
}

/* Main Dashboard Title */
.container > h2 {
    font-weight: 700; /* Bolder main title */
    color: #343a40;
    margin-bottom: 1.5rem !important; /* Ensure consistent bottom margin */
}

