
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ebf9f !important;
    color: #374151;
}



.dashboard {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
/* .sidebar {
    width: 256px;
    background-color: white;
    border-right: 1px solid #e5e7eb;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 10;
} */

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-header h1 {
    font-size: 24px;
    font-weight: bold;
    color: #1f2937;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.nav-item:hover {
    background-color: #f9fafb;
    color: #1f2937;
}

.nav-item.active {
    background-color: #f3f4f6;
    color: #1f2937;
}

.nav-item.highlighted {
    background-color: #fef3f2;
    color: #009A93;
    border-right: 2px solid #009A93;
}

.nav-item-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-icon {
    width: 20px;
    height: 20px;
}

.sidebar-footer {
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile{
    
    font-size:14px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-weight: 500;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 500;
    color: #1f2937;
    font-size: 14px;
}

.user-email {
    font-size: 12px;
    color: #6b7280;
}

/* Main Content */
.main-content {
    flex: 1;
    background: rgba(234, 241, 255, 0.74);
    /*margin-left: 256px;*/
}

/* Header */
.header {
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.notification-badge {
    position: relative;
    width: 24px;
    height: 24px;
    background-color: #e5e7eb;
    border-radius: 4px;
}

.notification-badge::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #14b8a6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
}

.header-user-info {
    display: flex;
    flex-direction: column;
}

.header-user-name {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}

.header-user-role {
    font-size: 12px;
    color: #6b7280;
}

/* Content */
.content {
    padding: 24px;
}

/* Status Cards */
.status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.status-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.status-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.status-card.active {
    border-color: #009A93;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.status-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-info h3 {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 4px;
}

.status-info p {
    font-size: 18px;
    font-weight: bold;
    color: #1f2937;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-indicator.orange { background-color: #f97316; }
.status-indicator.blue { background-color: #3b82f6; }
.status-indicator.green { background-color: #10b981; }
.status-indicator.red { background-color: #ef4444; }


.orange { background-color: #f97316; }
.blue { background-color: #3b82f6; }
.green { background-color: #10b981; }
/*.red { background-color: #ef4444; }*/
.teal { background-color: #20C997; }
.purple { background-color: #6F42C1; }
.gray { background-color: #6C757D; }
.pink { background-color: #E83E8C; }
.red { background-color: #DC3545; }
.yellow { background-color: #FFC107; }

/* Table Container */
.table-container {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* Filter Tabs */
.filter-tabs {
    /*border-bottom: 1px solid #e5e7eb;*/
    display: flex;
    justify-content: space-between;
}

.filter-tab {
    padding: 12px 24px;
    
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tab:hover {
    color: #374151;
}

.filter-tab.active {
    color: #ffff;
    border-bottom-color: #009A93;
    background-color: #009A93;
    border-radius: 25px;
}

/* Search and Actions */
.table-actions {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (min-width:1450px){
    
    .filter-tab {
        
        padding: 6px 12px;
        
    }
    
    
}


/*.search-container {*/
/*    position: relative;*/
/*}*/

/*.search-input {*/
/*    padding: 8px 12px 8px 36px;*/
/*    border: 1px solid #d1d5db;*/
/*    border-radius: 6px;*/
/*    width: 256px;*/
/*    font-size: 14px;*/
/*}*/

/*.search-icon {*/
/*    position: absolute;*/
/*    left: 12px;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    width: 16px;*/
/*    height: 16px;*/
/*    color: #9ca3af;*/
/*}*/


.search-container {
    position: relative;
    width: 250px; /* adjust as needed */
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    stroke: #999;
}

.search-input {
    width: 100%;
    padding: 8px 12px 8px 36px; /* left padding for icon space */
    border: 1px solid #ccc;
    border-radius: 4px;
}





.download-btn {
    background-color: #009A93;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    /*display: flex;*/
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.download-btn:hover {
    background-color: #009A93;
}

/* Table */
.table {
    width: 100%;
    border-collapse: collapse;
}


.table thead tr th {
    background-color: #dbdbdb;
}

.table tbody tr td {
    /*background-color: #fff;*/
}


.table th,
.table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.table th {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-transform: capitalize;
    letter-spacing: 0.05em;
}

.table td {
    font-size: 14px;
    color: #1f2937;
}

.table tbody tr:hover {
    background-color: #f9fafb;
}

.checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.in-progress {
    background-color: #fef3c7;
    color: #92400e;
}

.status-badge.pending {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-badge.cancelled {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-badge.delivered {
    background-color: #d1fae5;
    color: #065f46;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 4px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.action-btn:hover {
    background-color: #f3f4f6;
}

.action-btn svg {
    width: 16px;
    height: 16px;
}

.action-btn.view svg {
    color: #2563eb;
}

.action-btn.edit svg {
    color: #7c3aed;
}

.order-date {
    display: flex;
    flex-direction: column;
}

.order-time {
    font-size: 12px;
    color: #6b7280;
}

.items-center {
    text-align: center;
}

/* Pagination */
.pagination {
    padding: 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pagination-info {
    font-size: 14px;
    color: #374151;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background-color: #f3f4f6;
}

.pagination-btn.active {
    background-color: #009A93;
    color: white;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .hamburger-btn {
        display: block;
    }

    .status-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


.custom-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

/*.page-btn {*/
/*    background: #f5f5f5;*/
/*    color: #333;*/
/*    border: none;*/
/*    padding: 6px 12px;*/
/*    border-radius: 8px;*/
/*    cursor: pointer;*/
/*    font-weight: 500;*/
/*    transition: background 0.2s ease;*/
/*}*/

.page-btn {
    background: #fff;
    color: #333;
    border: none;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s ease;
}

.page-btn:hover:not(:disabled) {
    background: #e0e0e0;
}

.page-btn.active {
    background: #009A93;
    color: white;
}

.dots {
    padding: 6px 8px;
    color: #888;
    font-weight: bold;
}


.card-row {
    background-color: #f8f9fa; /* Light gray */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 6px;
    overflow: hidden;
}

.card-row td {
    border: none !important;
    padding: 1rem;
}

.table-striped{
    
    /*background-color:#fff !important;*/
}

/* Timeline Dot and Line */
.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #2ecc71;
    margin-top: 2px;
}

.line {
    width: 2px;
    flex-grow: 1;
    background-color: #2ecc71 !important;
    margin-top: 2px;
    margin-bottom: 2px;
}
