/* Google Font*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

  /* Custom CSS */

:root {
    --primary-color: #3EA7DE;
    --primary-dark: #1175ab;
    --sidebar-bg: #fff;
    --sidebar-text: #000;
    --sidebar-active: #3EA7DE;
    --card-border: #E9ECEF;
    --text-muted: #6C757D;
    --success: #28a745;
    --danger: #dc3545;
}
a{
    color: var(--primary-color);
}
body {
    font-family: 'Inter', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #EDF2F0 !important;
    overflow-x: hidden;
}
.bg-blue{
    background-color: var(--primary-color);
}
.text-blue{
    color: var(--primary-color);
}
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}
        .form-check-input:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
.w-100px{width: 100px;}
.w-200px{width: 200px;}
.w-350px{width: 350px;}
.text-3131{color:#313132;}
.text-18181B{color:#18181B;}
.h-100px{height: 100px;}
.w-190px{width: 190px;}
.w-80{width: 80%;}
.w-90{width: 90%;}
.h-190px{height: 190px;}
.hfc{    height: fit-content;}
.mx-w-492px{width: 492px;}
.mx-w-500px{max-width: 500px;}
.mx-h-150px{height: 150px;}
.mx-h-250px{height: 250px;}
.h-8px{height: 8px;}
.min-h-vh{min-height: 100vh;}
.min-h-40vh{min-height: 40vh;}
.min-h-88px{min-height: 88px;}
.m-w-80vw{max-width: 80vw;}
.fw-400{font-weight: 400;}
.fw-500{font-weight: 500;}
.fw-600{font-weight: 600;}
.fw-700{font-weight: 700;}
.fw-800{font-weight: 800;}
.fs-10{font-size: 10px !important;}
.fs-12{font-size: 12px !important;}
.fs-14{font-size: 14px !important;}
.fs-16{font-size: 16px !important;}
.fs-22{font-size: 22px !important;}
.fs-20{font-size: 20px !important;}
.fs-28{font-size: 28px !important;}
.fs-24{font-size: 24px !important;}
.fs-32{font-size: 32px !important;}
.fs-30{font-size: 30px !important;}
.fs-36{font-size: 36px !important;}
.fs-40{font-size: 40px !important;}
.fs-46{font-size: 46px !important;}
.fs-48{font-size: 48px !important;}
.fs-60{font-size: 60px !important;}
.fs-64{font-size: 64px !important;}
/* Global Styles */
.br-16,.card{
    border-radius: 16px !important;
}



/* Sidebar Styles */
.sidebar {
    background-color: var(--sidebar-bg);
    color: var(--sidebar-text);
    height: 100vh;
    width: 242px;
    position: fixed;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.brand-container {
    padding:8px 15px 2px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* background-color: black; */
        border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.brand-name {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.brand-tagline {
    font-size: 0.8rem;
    margin: 0;
    color: #fff;
    opacity: 0.7;
}
.sidebar .nav-item {
margin:6px 0;
}
.sidebar .nav-link {
    color:  #727272;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
border-radius: 4px;
padding-top: 7.2px;
padding-right: 7px;
padding-bottom: 7.2px;
padding-left: 7px;
font-weight: 500;
font-size: 14px;
line-height: 150%;
letter-spacing: 0%;


}
.card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}
.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: #fff;
}

.sidebar .nav-link i {
    font-size: 1.2rem;
}

.version-info {
    margin-top: auto;
    padding: 15px;
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Main Content Styles */
.main-content {
    margin-left: 242px;
    padding: 10px;
    width: calc(100% - 242px);
}

/* Top Navigation */
.top-nav {
    padding: 10px 0;
    margin-bottom: 20px;
    background-color: white;
}

.search-container {
    position: relative;
}

.search-container i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-container input {
    padding-left: 35px;
    border-radius: 20px;
    background-color: #F1F3F5;
    border: none;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.user-name {
    font-weight: 600;
}

.user-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.notification {
    position: relative;
    margin-left: 15px;
}

.notification .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--danger);
    color: white;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 50%;
}

/* Dashboard Header */
.dashboard-header {
    margin-bottom: 20px;
}

.dashboard-header h2 {
    margin: 0;
    font-weight: 600;
}

.dashboard-header p {
    color: var(--text-muted);
    margin: 0;
}

.filter-period {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
}

.filter-period div {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.period {
    font-weight: 600;
}



/* Responsive Adjustments */
@media (max-width: 992px) {
    .sidebar {
        width: 60px;
    }
    
    .sidebar .nav-link span, .brand-tagline, .brand-name {
        display: none;
    }
    
    .main-content {
        /* margin-left: 60px;
        width: calc(100% - 60px); */
          margin-left: 0px;
        width: 100%;
    }
    
    .sidebar .nav-link {
        justify-content: center;
        padding: 15px 0;
    }
    
    .brand-container {
        display: flex;
        justify-content: center;
        padding: 15px 0;
    }
}

@media (max-width: 768px) {
    .stat-card, .chart-container, .approvals-container, .activity-container, .subscriptions-container {
        margin-bottom: 20px;
    }
}


/* Modern DataTable Styling with #4ECDC4 theme */

/* Main table wrapper */
.dt-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    /* border: 1px solid #e5e7eb; */
}

/* Header controls styling */
.dt-container .row {
    margin: 0;
    padding: 14px 10px;
    /* background: #fafbfc;
    border-bottom: 1px solid #e5e7eb; */
}

.dt-container .row:last-child {
    background: #fafbfc;
    border-top: 1px solid #e5e7eb;
    border-bottom: none;
}

/* Search input styling */
.dt-search {
    position: relative;
}

.dt-search input.dt-input {
    width: 300px;
    padding: 12px 16px 12px 44px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.dt-search input.dt-input:focus {
    border-color: #4ECDC4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.dt-search input.dt-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* Add search icon */
.dt-search::before {
    content: "🔍";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #9ca3af;
    z-index: 1;
}

/* Length selector styling */
.dt-length {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.dt-length select.dt-input {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: #ffffff;
    min-width: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.dt-length select.dt-input:focus {
    border-color: #4ECDC4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.dt-length label {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    margin: 0;
}

/* Table styling */
.table {
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

/* Table header styling */
.table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.table thead th {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
    white-space: nowrap;
}

.table thead th:first-child {
    border-top-left-radius: 0;
}

.table thead th:last-child {
    border-top-right-radius: 0;
}

/* Sorting indicators */
.dt-column-order {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.dt-orderable-asc .dt-column-order::after,
.dt-orderable-desc .dt-column-order::after {
    content: "↕";
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.dt-ordering-asc .dt-column-order::after {
    content: "↑";
    color: #ffffff;
    opacity: 1;
}

.dt-ordering-desc .dt-column-order::after {
    content: "↓";
    color: #ffffff;
    opacity: 1;
}

/* Table body styling */
.table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.table tbody tr:hover {
    background-color: rgba(78, 205, 196, 0.04);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.table tbody tr:last-child {
    border-bottom: none;
}

.table tbody td {
    padding: 16px 20px;
    font-size: 14px;
    color: #374151;
    vertical-align: middle;
    border: none;
}



tr:hover .avatar {
    border-color: #4ECDC4;
}

/* Name column styling */
.d-flex.align-items-center span {
    font-weight: 600;
    color: #1f2937;
    margin-left: 12px;
}


/* Pagination styling */
.dt-paging {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dt-paging nav {
    display: flex;
    gap: 4px;
}

.dt-paging-button {
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    color: #6b7280;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dt-paging-button:hover:not(.disabled) {
    border-color: #4ECDC4;
    background: rgba(78, 205, 196, 0.1);
    color: #4ECDC4;
    transform: translateY(-1px);
}

.dt-paging-button.current {
    background: #4ECDC4;
    border-color: #4ECDC4;
    color: #ffffff;
    font-weight: 600;
}

.dt-paging-button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Info text styling */
.dt-info {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* Processing indicator */
.dt-processing {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.dt-processing > div {
    display: flex;
    gap: 8px;
}

.dt-processing > div > div {
    width: 12px;
    height: 12px;
    background: #4ECDC4;
    border-radius: 50%;
    animation: pulse 1.2s ease-in-out infinite;
}

.dt-processing > div > div:nth-child(2) {
    animation-delay: 0.2s;
}

.dt-processing > div > div:nth-child(3) {
    animation-delay: 0.4s;
}

.dt-processing > div > div:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dt-container .row {
        padding: 16px;
    }
    
    .dt-search input.dt-input {
        width: 100%;
        margin-bottom: 12px;
    }
    
    .dt-length {
        justify-content: flex-start;
    }
    
    .table tbody td {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .table thead th {
        padding: 14px 16px;
        font-size: 12px;
    }
    
  
}

/* Smooth scrolling for table */
.dt-container {
    overflow-x: auto;
}

.dt-container::-webkit-scrollbar {
    height: 6px;
}

.dt-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.dt-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.dt-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
.stat-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
   box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
  border: 1px solid rgba(212, 212, 216, 1);
}

.stat-icon {
     background-color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-title {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
}

   
        .profile-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 20px;
            position: relative;
            gap:18px;
        }
        .profile-header .dropdown-toggle::after{
            display:none !important;
        }
        .profile-header .profile-info {
            display: flex;
            align-items: center;
            cursor: pointer;
        }
        
       .profile-header  .profile-img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 15px;
        }
        
        .profile-header .profile-text h4 {
            margin: 0;
            font-size: 12px;
            font-weight: 500;
        }
        
        .profile-header .profile-text p {
            margin: 0;
            color: #6c757d;
            font-size: 10px;
        }
        
        .profile-header .notification-icon {
            position: relative;
            background-color: #f0f2f5;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }
        
        .profile-header .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: #ff7f50;
            color: white;
            border-radius: 50%;
            width: 15px;
            height: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 8px;
            font-weight: bold;
        }
        
        .profile-header .dropdown-menu {
            width: 238px;
            padding: 0;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border: none;
            margin-top: 10px !important;
        }
        
        .profile-header .dropdown-item {
            padding: 15px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #f0f2f5;
        }
        
        .profile-header .dropdown-item:last-child {
            border-bottom: none;
        }
        
        .profile-header .dropdown-item:hover {
            background-color: #f8f9fa;
        }
        
        .profile-header .dropdown-item-text {
            font-size: 14px;
            font-weight: 500;
        }
        
        .profile-header .dropdown-icon {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 20px;
        }
        
        .profile-header .caret-icon {
            margin-left: 10px;
            color: #6c757d;
            transition: transform 0.3s;
        }
        
        .profile-header .show .caret-icon {
            transform: rotate(180deg);
        }

        .mtable {
        border-collapse: separate !important;
        border-spacing: 0 8px !important;
    }
    
   .mtable thead th {
        background-color: #4A90E2 !important;
        color: white !important;
        border: none !important;
    }
    
   .mtable thead th:first-child {
        border-top-left-radius: 14px !important;
        border-bottom-left-radius: 14px !important;
    }
    
   .mtable thead th:last-child {
        border-top-right-radius: 14px !important;
        border-bottom-right-radius: 14px !important;
    }
    
    .mtable tbody td {
        background-color: white !important;
        border: 1px solid #e9ecef !important;
        border-top: 1px solid #e9ecef !important;
        border-bottom: 1px solid #e9ecef !important;
        vertical-align: middle;
        padding: 15px 12px;
                border-left: none;
        border-right: none ;

    }
    
    .mtable tbody tr td:first-child {
        border-top-left-radius: 14px !important;
        border-bottom-left-radius: 14px !important;
        border-left: 1px solid #e9ecef !important;
    }
    
    .mtable tbody tr td:last-child {
        border-top-right-radius: 14px !important;
        border-bottom-right-radius: 14px !important;
        border-right: 1px solid #e9ecef !important;
    }
    
    .mtable tbody tr:hover td {
        background-color: #f8f9fa !important;
    }
    
    /* Remove default table borders */
    .mtable thead th {
        border-bottom: none !important;
    }
    
    .mtable tbody tr:first-child td {
        border-top: 1px solid #e9ecef !important;
    }
         .m-header {
            background: white;
            border-bottom: 1px solid #e9ecef;
            padding: 1.5rem 0;
            margin-bottom: 1rem;
        }