/* Layout */
body {
    background-color: #f9fafb;
}

.sidebar {
    width: 280px;
    min-height: 100vh;
    background: #FBFAF8;
    padding: 24px 16px;
    position: fixed;
    left: 0;
    top: 0;
}

.main-content {
    margin-left: 280px;
    padding: 24px;
    background: #fff;
}

/* Navigation */
.nav-item {
    margin-bottom: 8px;
}

.nav-link {
    color: #6B7280;
    /* Neutral gray for text */
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #FBFAF8; /* Black border with 3px width */
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    /* Smooth transitions */
}

.nav-link img {
    filter: brightness(0) invert(0.5);
    /* Neutral gray icon */
    transition: all 0.3s ease;
}

/* Hover state */
.nav-link:hover {
    background-color: #FFFFFF; /* White background */
    color: #000000; /* Black text */
    font-weight: 600; /* Bold text */
    border: 1px solid #8A8AA3; /* Black border with 3px width */
    border-radius: 8px; /* Rounded corners */
    transition: all 0.3s ease; /* Smooth transitions */
}



/* Persistent active state */
.nav-link.active {
    background-color: #FFFFFF; /* White background */
    color: #000000; /* Black text */
    font-weight: 600; /* Bold text */
    border: 1px solid #8A8AA3; /* Black border with 3px width */
    border-radius: 8px; /* Rounded corners */
    transition: all 0.3s ease; /* Smooth transitions */
}


/* Model  */
.modal-dialog{
    max-width: 650px;

}

.modal-header {
    border-bottom: none;
    justify-content: center;
    position: relative;
}

.modal-header .icon-container i {
    font-size: 24px;
    color: #FF6B6B;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.modal-body p {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 20px;
}

.modal-backdrop {
    background-color: rgb(84, 60, 52);  /* Replace with your preferred color */
    backdrop-filter: blur(50px);  /* Apply blur effect */
}
.modal-content {
    background: white;
    border-radius: 8px;
    padding: 5px;
    border: 1px solid #E5E7EB;
}

/* Logo */
.logo {
    margin-bottom: 32px;
    padding-left: 16px;
}

.logo img {
    height: 32px;
}

/* Table Styles */
.table {
    background: white;
    border-radius: 8px;
}

.table th {
    border-top: none;
    color: #6C6C89;
    border-bottom: 1px solid #E9ECEF;
    text-align: start;
    font-weight: 600;
    font-size: 14px;
    text-transform: capitalize;
    background-color: #FBFAF8;

}

.table td {
    color: #121217;
    font-weight: 500;
    font-size: 14px;
    padding: 16px 8px;
    border-bottom: 1px solid #E9ECEF;
    text-align: start;
}

.table-responsive {
    overflow: visible !important; /* Ensure dropdowns are not clipped in responsive tables */
}

.dropdown-menu {
    max-height: 300px; /* Optional: Set a max height for scrolling if many options */
    overflow-y: auto; /* Add vertical scroll for long dropdowns */
}


/* Status Badges */
.status-badge,
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}



.status-pending {
    background: #FEF3C7;
    color: #92410eb7;
}

/* Category Badges */
.icon-badge-suscess {
    background-color: #E1F7E1;
    color: #28A745;
}
.icon-badge-error {
    background-color: #ac808277;
    color: #fffafa;
}

.badge-water {
    background-color: #E1F5FE;
    color: #0288D1;
}

.badge-hygiene {
    background-color: #FFF3E0;
    color: #F57C00;
}

/* Buttons and Forms */
.btn {
    border-radius: 8px;
    padding: 10px 20px;
}

.create-btn,
.btn-primary {
    background: #FF5722;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #D03801;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    padding: 10px;
}

/* Cards */
.card,
.stats-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #E5E7EB;
}

/* Stats */
.stats-number {
    font-size: 28px;
    font-weight: 600;
    color: #FF6B6B;
    margin-bottom: 8px;
}

.stats-label {
    color: #6B7280;
    font-size: 14px;
}

/* Tabs */
.tab-header {
    gap: 20px;
}

.tab {
    padding: 12px 24px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #FF5722;
    border-bottom: 2px solid #FF5722;
}

.count {
    background: #E9ECEF;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    font-size: 12px;
}

/* User Profile */
.user-profile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 280px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #F3F4F6;
    background: white;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.user-info {
    flex-grow: 1;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.user-email {
    font-size: 12px;
    color: #6B7280;
    margin: 0;
}

/* Utilities */
.edit-icon {
    color: #666;
    cursor: pointer;
}

