/* CONDENCE FONTS #21243B */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

/* REGULAR FONTS */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Monoton&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Rubik+Mono+One&display=swap');
/* @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'); */
body {
    background: #fcfcfc !important;
    font-family: "Roboto", sans-serif;
    margin: 0;
    color: #222;
}

:root {
    --erp-primary: #355088;
    --erp-secondary: #E9EBEF;
    --erp-accent: #fbc531;
    --erp-bg: #f3f6fa;
    --erp-widget-bg: #fff;
    --erp-widget-shadow: 0 2px 12px rgba(44,62,80,0.07);
    --erp-border-radius: 14px;
}

/* Header Bar */
.erp-navbar {
    background: #355088;
    color: white;
    height: 39px;
    display: flex;
    padding-left: 10px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(44,62,80,0.07);
    

}

.erp-navbar .logo {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}


.erp-navbar .nav {
    display: flex;
    gap: 8px;
    font-size: 1rem;
    background-color: transparent;
    color: #fff;
    padding-left: 10px;
      
}
.nav button {
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px;
    font-family: 'Roboto', sans-serif;
    height: 100%;
    border: none;
    font-size: 14px;
    
}

.nav a{
    text-decoration: none   ;
}

.erp-navbar .nav button.active,
.erp-navbar .nav button:hover {
    opacity: 1;
    background-color: #424445;

}

/* Main Dashboard Container */
.erp-dashboard-main {
    max-width: 1200px;
    margin: 36px auto 0 auto;
    padding: 0 24px 32px 24px;
}

/* Header Row */
.erp-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 18px;
}
.erp-header-row h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--erp-primary);
    margin: 0;
}

/* Widgets Row */
.erp-widgets-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-bottom: 38px;
}
.erp-widget {
    /* background: var(--erp-widget-bg); */
    /* border-radius: var(--erp-border-radius);
    box-shadow: var(--erp-widget-shadow); */
    padding: 28px 18px 22px 18px;
    text-align: center;
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 140px;
}
.erp-widget .icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #fff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 10px auto;
}
.erp-widget.ffa .icon { background: linear-gradient(135deg, #fbc531 60%, #e1b12c 100%);}
.erp-widget.oil .icon { background: linear-gradient(135deg, #00b894 60%, #00cec9 100%);}
.erp-widget.fiber .icon { background: linear-gradient(135deg, #0984e3 60%, #6c5ce7 100%);}
.erp-widget.ss .icon { background: linear-gradient(135deg, #e17055 60%, #fdcb6e 100%);}
.erp-widget.reports .icon { background: linear-gradient(135deg, #a084ee 60%, #d6a4ff 100%);}
.erp-widget.users .icon { background: linear-gradient(135deg, #43a047 60%, #76e2a1 100%);}
.erp-widget.alerts .icon { background: linear-gradient(135deg, #ff7043 60%, #fbeee6 100%);}
.erp-widget.completed .icon { background: linear-gradient(135deg, #00bcd4 60%, #e0f7fa 100%);}
.erp-widget-title {
    font-size: 1.1rem;
    color: #718093;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.erp-widget-value {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--erp-primary);
}
.erp-widget-desc {
    font-size: 0.95rem;
    color: #888;
    margin-top: 6px;
}

/* Graph Section */
.erp-graph-section {
    background: #fff;
    border-radius: var(--erp-border-radius);
    box-shadow: 0 2px 10px rgba(44,62,80,0.04);
    padding: 32px 24px;
    margin-bottom: 20px;
}

.pageName{
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--erp-primary);
    margin: 10px 20px 10px 20px;
}
.pageInfo{
    font-size: 0.8rem;
    color: #555;
    margin: 0 20px 20px 20px;
}

/* Table Section */
.erp-table-section {
    background: #fff;
    border-radius: var(--erp-border-radius);
    box-shadow: 0 2px 10px rgba(44,62,80,0.04);
    padding: 24px 18px;
    margin-bottom: 20px;
}
.erp-table-section h3 {
    margin-top: 0;
    color: var(--erp-primary);
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.data-table{
    width: 100%;
    /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; */
    margin: 0;
    overflow: auto;
    position: fixed;
}


.recordTbl {
    font-family: 'Roboto Condensed', sans-serif;
    border-collapse: collapse;
    border: none;
    margin: auto;
    background-color: white;
    word-wrap: break-word;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;	
 
}
.recordTbl th {
    font-weight: 500;
    background-color: #e0ebf89a;
    backdrop-filter: blur(4px);
    color: black;
    font-size: 14px;
    text-align: left;
    top: 0;
    position: sticky;
    letter-spacing: 1px;
    font-family: 'Roboto';
    height: 20px;
    border-collapse: collapse;
    margin-bottom: 40px;
    
}

.recordTbl tr:nth-child(even){
    background-color: rgba(233, 240, 244, 0.785);
}
.recordTbl tr:nth-child(odd){
    background-color: rgb(255, 255, 255);
}
.recordTbl td, .recordTbl th{
    padding: 10px;
    padding-left: 10px;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    font-size: small;
}
.recordTbl tr{
    font-size: 13px;
    color: #424445;
    white-space: nowrap;
}
.recordTbl tr:hover, .recordTbl td i:hover  {
    background: #ffcc65c1;
    color: black;
}
.recordTbl a{
    text-decoration: none;
    color: var(--erp-primary);
    font-size: 14px;
}
tr:hover a { 
    color: var(--erp-primary);
    text-decoration: none;
}

.pagination a {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 4px;
    background: #f3f6fa;
    color: #49649a;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #eaeaea;
}
.pagination a:hover {
    background: #49649a;
    color: #fff;
}
/* Responsive */
@media (max-width: 900px) {
    .erp-dashboard-main { padding: 0 4px 16px 4px; }
    .erp-header-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .erp-graph-section, .erp-table-section { padding: 10px; }
}
@media (max-width: 700px) {
    .erp-widgets-row { grid-template-columns: 1fr; }
    .erp-graph-section { padding: 10px; }
}

/* HTML: <div class="loader"></div> */
@keyframes placeHolderShimmer{
    0%{
        background-position: -468px 0
    }
    100%{
        background-position: 468px 0
    }
}

.linear-background {
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: placeHolderShimmer;
    animation-timing-function: linear;
    background: #f6f7f8;
    background: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
    background-size: 1000px 104px;
    height: 338px;
    position: relative;
    overflow: hidden;
}