:root {
    --primary: #28a745;
    --primary-dark: #1e7e34;
    --primary-light: #48c774;
    --text-dark: #2d3748;
    --text-light: #718096;
    --background: #ffffff;
    --background-alt: #f7fafc;
    --border-color: #e2e8f0;
    --warning: #ff9800;
    --warning-light: rgba(255, 152, 0, 0.1);
    --success: #48c774;
    --danger: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
}

.header-brand {
    display: flex;
    align-items: center;
}

.header-brand a {
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-brand .material-icons-round {
    font-size: 32px;
}

.header-brand h5 {
    margin: 0;
    font-weight: 600;
}

.header-actions {
    margin-left: auto;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    margin-top: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 8px 0;
    background: var(--background);
    z-index: 1000;
}

.dropdown-item {
    padding: 8px 16px;
    color: var(--text-dark);
    display: block;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--background-alt);
    color: var(--primary);
}

.dropdown-divider {
    margin: 8px 0;
    border-color: var(--border-color);
}

/* Button Styles */
.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-icon:hover {
    background: var(--background-alt);
    color: var(--primary);
}

.btn-icon:focus {
    outline: none;
    box-shadow: none;
}

.btn-icon .material-icons-round {
    font-size: 20px;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--background-alt) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.1;
    transform: rotate(45deg);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.animated-text {
    height: 36px;
    position: relative;
    margin: 32px 0;
    color: var(--primary);
}

.animated-text span {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: textAnimation 9s infinite;
}

.animated-text span:nth-child(2) {
    animation-delay: 3s;
}

.animated-text span:nth-child(3) {
    animation-delay: 6s;
}

@keyframes textAnimation {

    0%,
    100% {
        opacity: 0;
        transform: translateY(20px);
    }

    3%,
    30% {
        opacity: 1;
        transform: translateY(0);
    }

    33%,
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--background-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    background: var(--background);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    color: var(--primary);
    font-size: 48px !important;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 16px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.container-fluid {
    padding-left: 16px;
    padding-right: 16px;
    

}

a {
    color: #28a745;
    text-decoration: none;

}
.card-header{
    padding:16px;
}
.stats-grid{
    padding: 16px;
}
.card-body{
    padding: 16px;
}
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.btn-light {
    background: white;
    color: var(--primary);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Auth Pages */
.auth-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 600px;
}

.auth-container {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}

.auth-intro {
    background: linear-gradient(135deg, var(--primary) 0%, #1e4620 100%);
    color: white;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-intro-content {
    text-align: center;
}

.auth-intro .logo {
    display: block;
    margin: 0 auto;
    color: white;
}

.auth-intro h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.auth-intro .lead {
    font-size: 1.1rem;
    opacity: 0.9;
}

.features-list {
    margin-top: 2rem;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.feature-item .material-icons-round {
    font-size: 24px;
}

.auth-form {
    background: white;
}

.auth-form-content {
    padding: 3rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo {
    display: inline-flex;
    margin-bottom: 1.5rem;
}

.auth-header h1 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-light);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Form Styles */
.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232d3748' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

.form-input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.form-input:disabled,
.form-select:disabled {
    background-color: var(--background-alt);
    cursor: not-allowed;
}

.form-input.is-invalid,
.form-select.is-invalid {
    border-color: var(--danger);
}

.form-input.is-invalid:focus,
.form-select.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--danger);
}

textarea.form-input {
    min-height: 100px;
    resize: vertical;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-links .nav-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links .nav-link:hover {
    color: var(--primary);
}

/* Dashboard */
.dashboard-container {
    min-height: calc(100vh - 60px);
    background: var(--background-alt);
}

.dashboard-header {
    background: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dashboard-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-item .material-icons-round {
    font-size: 2.5rem;
}

.stat-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Actions Grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.action-card .material-icons-round {
    font-size: 2rem;
}

.action-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.action-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Alerts */
.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alert-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 8px;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-content .material-icons-round {
    color: #ff9800;
    font-size: 1.5rem;
}

.alert-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.alert-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.alert-status {
    text-align: right;
}

.alert-status .quantity {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.alert-status .threshold {
    color: var(--text-light);
    font-size: 0.9rem;
}

.text-primary {
    color: var(--primary) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-warning {
    background-color: var(--warning-light) !important;
}

.bg-success {
    background-color: var(--success) !important;
}

.bg-danger {
    background-color: var(--danger) !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 2rem !important;
}

.mb-6 {
    margin-bottom: 2.5rem !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 2rem !important;
}

.mt-6 {
    margin-top: 2.5rem !important;
}

.py-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.py-6 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.app-card {
    background: var(--background);
    border-radius: 12px;
    padding:16px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.app-card:hover {
    box-shadow: var(--shadow-lg);
}

.stat-item .material-icons-round {
    padding: 1rem;
    border-radius: 12px;
    background: var(--primary-light);
    color: white;
}
.nav-item .nav-link .active{
    background-color: #28a745;
    color: white;
}
.badge-primary{
    background-color: #28a745;
    color: white;
    
}

.paginate_button.page-item.active .page-link{
    background-color:#28a745;
    border-radius: 30%;
    border: none;
    
}
.action-card .material-icons-round {
    padding: 1rem;
    border-radius: 12px;
    background: var(--primary-light);
    color: white;
}

.alert-item {
    border-left: 4px solid var(--warning);
}

.alert-content .material-icons-round {
    padding: 0.75rem;
    border-radius: 8px;
    background: var(--warning-light);
}

/* Tables */
.table-responsive {
    border-radius: 8px;
    overflow-x: auto;
    margin: 0;
    padding: 0;
    width: 100%;
}

.table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9375rem;
}

.table th {
    background: var(--light);
    padding: 12px 16px;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
    text-align: left;
    white-space: nowrap;
}

.table td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.table tbody tr {
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background-color: var(--light);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Status badges in tables */
.table .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Table action buttons */
.table .actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.table .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.table .material-icons-round {
    font-size: 1rem;
    margin-right: 0.25rem;
}

/* Responsive table */
@media (max-width: 768px) {
    .table-responsive {
        margin: 0 -1rem;  /* Negative margin to allow full-width scrolling */
        padding: 0 1rem;
        width: calc(100% + 2rem);
    }

    .table {
        min-width: 640px; /* Minimum width to ensure readability */
    }
    
    .table td {
        white-space: nowrap;  /* Prevent text wrapping on mobile */
    }
}

/* Table variants */
.table-hover tbody tr:hover {
    background-color: var(--light);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(var(--light-rgb), 0.35);
}

/* Empty state within table */
.table-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--light);
    border-radius: 8px;
}

.table-empty .material-icons-round {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.table-empty h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.table-empty p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Layout */
.app-wrapper {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    transition: margin-left 0.3s ease;
}

.fab-button{
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    transition: background 0.3s ease;
}

.content-wrapper {
    flex: 1;
    
    padding: 2rem;
    margin-left: 280px;
    margin-top: 64px;
    background: var(--background-alt);
}

/* Sidebar */
#sidebar {
    position: fixed;
    left: 0;
    top: 64px;
    width: 280px;
    height: calc(100vh - 64px);
    background: var(--background);
    border-right: 1px solid var(--border-color);
    padding: 24px 0;
    overflow-y: auto;
    z-index: 900;
    transition: transform 0.3s ease;
}

[dir="rtl"] #sidebar {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 1px solid var(--border-color);
}

.sidebar-logo {
    padding: 0 24px;
    margin-bottom: 32px;
}

.sidebar-logo a {
    color: var(--primary);
}

.sidebar-logo .material-icons-round {
    font-size: 32px;
}

.sidebar-section {
    padding: 0 16px;
}

.sidebar-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* Sidebar Navigation */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    width: 100%;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 16px;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
}

.nav-link:hover {
    background: var(--background-alt);
    color: var(--primary);
}

.nav-link.active {
    background: var(--primary);
    color: white;
}

.nav-link .material-icons-round {
    font-size: 20px;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link span:not(.material-icons-round) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* Content Wrapper */
.content-wrapper {
    margin-left: 280px;
    margin-top: 64px;
    padding: 24px;
    min-height: calc(100vh - 64px);
    background: var(--background-alt);
}

[dir="rtl"] .content-wrapper {
    margin-left: 0;
    margin-right: 280px;
}

@media (max-width: 991px) {
    #sidebar {
        transform: translateX(-100%);
        box-shadow: var(--shadow);
    }

    [dir="rtl"] #sidebar {
        transform: translateX(100%);
    }

    .content-wrapper {
        margin-left: 0;
    }

    [dir="rtl"] .content-wrapper {
        margin-right: 0;
    }

    .sidebar-open #sidebar {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: block;
    }

    .mobile-nav {
        display: grid;
    }

    body.sidebar-open {
        overflow: hidden;
    }

    body.sidebar-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .animated-text {
        font-size: 18px;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .auth-grid {
        grid-template-columns: 1fr;
    }

    .auth-intro {
        padding: 2rem;
        min-height: auto;
    }

    .auth-form-content {
        padding: 2rem;
    }

    .auth-intro h1 {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }

    .alert-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .alert-status {
        text-align: left;
        width: 100%;
    }
}

/* DataTables Customization */
.dataTables_wrapper {
    padding: 1rem;
}

.dataTables_filter {
    margin-bottom: 1rem;
}

.dataTables_filter label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dataTables_filter input {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    outline: none;
}

.dataTables_filter input:focus {
    border-color: var(--primary);
}

.dataTables_length select {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    margin: 0 0.5rem;
}

.dataTables_info {
    color: var(--text-light);
    padding: 1rem 0;
}

.dataTables_paginate {
    padding: 1rem 0;
}

.paginate_button {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    cursor: pointer;
}

.paginate_button.current {
    background: var(--primary);
    color: white;
}

.paginate_button:not(.current):hover {
    background: var(--background-alt);
}

.table > :not(caption) > * > * {
    padding: 1rem;
}

.table thead th {
    background: var(--light);
    border-bottom: none;
    font-weight: 600;
}

.chip {
    display: flex;
    align-items: center;
    background: #ededed;
    margin: 0.5rem;
    border-radius: 16px;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.chip:hover {
    background: #d6d6d6;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.chip:active {
    background: #c0c0c0;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}

.chip img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
}

.chip .close-btn {
    margin-left: 8px;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    font-size: 12px;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.chip .close-btn:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* Landing Page Styles */
.hero-section {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(236, 243, 158, 0.1) 100%);
}

.animated-text {
    height: 50px;
    overflow: hidden;
}

.text-typing span {
    display: block;
    height: 50px;
    font-size: 1.5rem;
    color: #198754;
    animation: typing 9s infinite;
}

@keyframes typing {
    0%, 33% { transform: translateY(0); }
    33%, 66% { transform: translateY(-50px); }
    66%, 100% { transform: translateY(-100px); }
}

.card {
    transition: transform 0.3s ease;
    border: none;
    background: rgba(255, 255, 255, 0.9);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.card:hover .feature-icon {
    transform: scale(1.1);
}

.btn-success:hover {
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    .animated-text { height: 40px; }
    .text-typing span { font-size: 1.25rem; }
}