
@import url(https://fonts.googleapis.com/css?family=Titillium+Web:300);
@import url(https://fonts.googleapis.com/css?family=Audiowide);
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css);

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");

html, body {
    height: 100%; 
    margin: 0; 
    background-size: cover;
    background-position: center;
    background: #f8f9fa;
}

*{
    font-family: "Titillium Web", sans-serif;
}
.wrapper {
    display: flex;
    flex-direction: column; 
    min-height: 100vh; 
}
.loginEffecter{
    background-color: #000000;
}
.loginimg {
    /* background-image: url('../images/3E07of6Ioh1CEAHOEyRc2gVTL3aOVqPV7VmFzOJk.jpg'); */
    background-image: url('../images/new_bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;       /* Ensures it fills the screen */
    background-position: center;  /* Centers the image */
    position: absolute;
    opacity: 0.6;
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    z-index: 1;
}
.m-margins{
    margin-top: 1rem !important;
}
.m-titleIcon{
    margin: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.m-TitleText{
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(54, 69, 79);
    font-weight: 500;
    margin: 0 0 1rem 0;
}
.m-flexItFixIt0{
    width: unset !important;
    padding: 0 1rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.m-nicerButton{
    width: auto !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.2rem 0.5rem !important;
}

.m-alignAndJustify{
    align-items: center;
    justify-content: left;
}

.transaction-item{
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border: 1px solid #ccc; 
    padding: 10px; 
    margin-bottom: 10px;
    border-radius: 10px;
}


@media (max-width: 768px) {
    html, body {
        background-size: auto; 
        height: auto; 
    }

    .wrapper {
        min-height: auto; 
    }

    
    .some-element {
        padding: 10px; 
        font-size: 14px; 
    }
}


@media (max-width: 480px) {
    html, body {
        background-size: auto; 
        height: auto;
    }

    .wrapper {
        min-height: auto;
    }

    
    .some-element {
        font-size: 12px; 
    }
}

body {
    font-size: 16px; 
}

@media (max-width: 768px) {
    body {
        font-size: 14px; 
    }
}

@media (max-width: 480px) {
    body {
        font-size: 12px; 
    }
}

.container {
    margin: 0 auto; 
    padding: 2vw; 
}



.content-wrapper {
 border-radius: 8px;
 padding: 20px;
 margin: 20px auto;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
background: linear-gradient(135deg, #faf9f7 0%, #f4f1ec 100%);
width: 100%;
max-width: 1200px; /* or any value that keeps it centered and contained */
 box-sizing: border-box;
}


.footer {
    background: #f8f9fa; 

    text-align: center; 
}
.fa-2x {
font-size: 2em;
}
.fa {
position: relative;
display: table-cell;
width: 60px;
height: 36px;
text-align: center;
vertical-align: middle;
font-size:20px;
}
.fa-solid {
    position: relative;
    display: table-cell;
    width: 60px;
    height: 36px;
    text-align: center;
    vertical-align: middle;
    font-size:20px;
    }


.main-menu:hover,nav.main-menu.expanded {
width:250px;
overflow:visible;
}

.main-menu {
background: linear-gradient(to bottom, 
    rgba(93, 58, 26, 1) 0%, 
    rgba(139, 101, 72, 1) 50%, 
    rgba(212, 165, 116, 1) 100%);
    border-right:1px solid #e5e5e5;
    position:fixed;
    top:0;
    bottom:0;
    height:100%;
    left:0;
    width:60px;
    overflow:hidden;
    -webkit-transition:width .05s linear;
    transition:width .05s linear;
    -webkit-transform:translateZ(0) scale(1,1);
    z-index:1000;
}


.main-menu>ul {
margin:25px 0;

}

.main-menu li {
position:relative;
display:block;
width:250px;
margin-bottom: 10px;
padding: 0.5rem 0;
}


.main-menu li > a {
    position: relative;
    align-items: center; 
    display: table;
    border-collapse: collapse;
    border-spacing: 0;
    color: #ffffff; 
    font-family: Arial;
    font-size: 14px;
    text-decoration: none;
    -webkit-transform: translateZ(0) scale(1, 1);
    -webkit-transition: all .1s linear;
    transition: all .1s linear;
}

.main-menu li > a .fa {
    color: rgba(255, 255, 255); 
}
.main-menu li > a .fa-solid {
    color: rgba(255, 255, 255); 
}




.main-menu .nav-icon {
position:relative;
display:table-cell;
width:60px;
height:36px;
text-align:center;
vertical-align:middle;
font-size:18px;
}

.main-menu .nav-text {
position:relative;
display:table-cell;
vertical-align:middle;
width:190px;
  font-family: 'Titillium Web', sans-serif;
}

.main-menu>ul.logout {
position:absolute;
left:0;
bottom:0;
}

.no-touch .scrollable.hover {
overflow-y:hidden;
}

.no-touch .scrollable.hover:hover {
overflow-y:auto;
overflow:visible;
}

a:hover,a:focus {
text-decoration:none;
}

nav {
-webkit-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
-o-user-select:none;
user-select:none;
}

nav ul,nav li {
outline:0;
margin:0;
padding:0;
}
.main-menu li:hover>a,nav.main-menu li.active>a,.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus,.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus,.no-touch .dashboard-page nav.dashboard-menu ul li:hover a,.dashboard-page nav.dashboard-menu ul li.active a {
color:#fff;

}
.area {
float: left;
background: #e2e2e2;
width: 100%;
height: 100%;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 300;
  src: local('Titillium WebLight'), local('TitilliumWeb-Light'), url(http://themes.googleusercontent.com/static/fonts/titilliumweb/v2/anMUvcNT0H1YN4FII8wpr24bNCNEoFTpS2BTjF6FB5E.woff) format('woff');
}
.main-content {
   
    padding: 4px 20px; 
    transition: margin-left 0.3s ease; 
    flex: 1; 
    flex-grow: 1; 
    margin-left: 60px; 
}
.main-menu:hover + .main-content {
    margin-left: 250px; 
}

.button {
    display: inline-block;
    width: 100px; 
    height: 40px; 
    padding: 0; 
    margin: 5px 0;
    border: none;
    border-radius: 5px;
    background-color: #c8956d;
    color: #ffffff;
    text-align: center;
    line-height: 40px; 
    transition: background-color 0.3s; 
    cursor: pointer;
}

.button-large {
    width: 120px; 
    height: 50px; 
    line-height: 50px; 
}

.button-small {
    
    
    line-height: 30px;
    width: 100%;
    margin: 0.8rem 0;
}
.button-wide {
    width: 200px; 
    height: 30px; 
    line-height: 30px; 
}


.button:hover {
    background-color: #ccb9ab9c;
    color: #000000;
    border:  1px rgba(10, 42, 83, 0.9) solid;

}

.button i {
    
    font-size: 1.3em; 
    display: inline-flex; 
    align-items: center; 
}

form div {
    display: flex;
    align-items: center; 
    flex-wrap: wrap; 

}

form div label {
    width: 150px; 
    font-weight: bold; 
    margin-right: 10px; 
}


input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],

select,
textarea {
    width: 300px; 
    height: 40px; 
    padding: 10px; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    font-size: 14px; 
    box-sizing: border-box; 
}


select {
    height: 40px; 
    padding: 10px; 
}


textarea {
    width: calc(100% - 20px); 
    height: auto; 
}


input[type="text"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: #27aae1; 
    outline: none; 
}



.item {
    display: block;
    width: 150px;
    text-align: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    
    border-radius: 4px;
    margin-bottom: 10px;
    
    transition: background-color 0.3s;
    font-size: 20px;
}


.item:hover {
    background-color: #f0f0f0; 
}


ul {
    list-style-type: none; 
    padding: 0; 
}


.area-type-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    
    border-radius: 5px;
    margin-bottom: 10px;
    transition: background-color 0.3s;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}


.area-type-item:hover {
    background-color: #f0f0f0; 
}



.item-actions {
    display: flex; 
    gap: 10px; 
}

.areas-list {
    list-style: none; 
    padding: 0;
}

.area-item {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 15px; 
    border-bottom: 1px solid #ddd; 
}

.area-item:last-child {
    border-bottom: none; 
}

.item-info {
    flex-grow: 1; 
}


.alert {
    padding: 10px;
    border: 1px solid;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #dff0d8; 
    color: #3c763d; 
    border-color: #d6e9c6; 
}

.alert-danger {
    background-color: #f8d7da; 
    color: #721c24 !important; 
    border-color: #f5c6cb; 
}

.alert-warning {
    background-color: #fff3cd; 
    color: #856404 !important; 
    border-color: #ffeeba; 
}

.alert-info {
    background-color: #d1ecf1; 
    color: #0c5460 !important; 
    border-color: #bee5eb; 
}


a {
    text-decoration: none; 
    outline: none; 
}

a:focus,
a:active {
    text-decoration: none; 
    outline: none; 
}



.image-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1; 
    width: 100%;
    height: 100%;
    
}

.image-container img {
    width: 50%; 
    height: auto;
    max-width: 100%;
    max-height: 100%;
    opacity: 0.5; 
}

.m-dateInput {
    padding: 10px;
    
    color: black;
    font-size: 15px;
    border: none;
    outline: none;
    border-radius: 5px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.m-mainContainer{
    margin-top: 20px;
}

.m-alighIt{
    width: unset !important;
    padding: 0 1rem;
    margin: 0  !important;
}

.m-strechItFlexIt{
    width: 94%;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.m-wrapNGap{
    flex-wrap: wrap;
    row-gap: 20px;
    flex-direction: column;
    align-items: center;
}
.m-subCards{
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tiles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tile {
    flex: 1 0 300px;
    background: linear-gradient(135deg, #faf9f7 0%, #f4f1ec 100%);
    
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}


.tile ul {
    list-style-type: none;
    padding: 0;
    background: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 0;
}

.column {
    flex: 1;
}

.list-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}



.tile li {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

.tile li:last-child {
    border-bottom: none;
}

.tile li span {
    font-weight: bold;
    color: #000000;
}
.item-of-list{
    margin: 0 !important;
}
.button-of-list{
    width: 100px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}
.m-noWidth{
    width: unset !important;
    overflow: hidden !important;
}
.m-flexIt{
    flex-wrap: wrap;
}

.circle-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.single-circle-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.circle {
    width: 120px;
    height: 100px;
    
    color: rgba(10, 42, 83, 0.9);
    
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    font-family: "Titillium Web", sans-serif;
}

.circle-label {
    text-align: center;
    font-size: 20px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 12px;
    font-weight: 200;
    width: 92%;
    text-align: center;
}

.m-userIcon{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.m-menuIcon{
    display: none;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.userImage{
    width: 100%;
    height: auto;
}
.menuImage{
    width: 64%;
    height: auto;
}

.helloToTheOtherSide{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    row-gap: 1rem;
}

.headerLayout {
    font-family: 'Audiowide', sans-serif;
    color: #8b6f47;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 8px;
    font-size: 19px;
    padding: 0 1rem;
    margin-top: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: linear-gradient(135deg, #faf9f7 0%, #8b6f47 100%);
}


.headerLayout h1{
    font-size: 19px;
    height: 100%;
    margin: 0;
    font-weight: normal;
}



.subtables-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
    overflow-x: auto; 

}


.subtable {
    flex: 1 1 45%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    min-width: 320px; 
    max-width: 80%; 
    margin: 10px 0;
}


.bigthHeader
{
    width:200px;
}

.smallthHeader
{
    width:50px;
    font-size: 0.8em;
}

@media (max-width: 800px) {
    .subtable {
        flex: 1 1 100%; 
        min-width: 100%; 
    }
}


table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    table-layout: auto; 
    max-width: 100%; 
}



th,
td {
    padding: 15px;
    color: #000000;
    font-family:'Roboto', sans-serif;
}




table tr:nth-child(even) {
    background-color: #f0f0f0; 
}

th {
    text-align: center;
}

thead th {
    background-color: rgba(93, 58, 26, 1);
    color: white;
}



tbody tr:hover {
    background-color:rgba(20, 85, 170, 0.558);
    color: white;
}

tbody td {
    position: relative;
    text-align: center;
}

tbody td:hover::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -9999px;
    bottom: -9999px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: -1;
}

.special-column {
    background-color: rgb(193,205,205); 
    color: #333; 
    font-weight: bold;
    padding: 10px;
    border: 1px solid #ddd; 
}

.special-column:hover {
    background-color: #d0e8ff; 
}

.special-column2 {
    background-color: rgb(185,211,238); 
    color: #333; 
    font-weight: bold;
    padding: 10px;
    border: 1px solid #ddd; 
}

.special-column2:hover {
    background-color: #d0e8ff; 
}

.pagination-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem; 
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.pagination-buttons button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 10px; 
    font-size: 16px; 
    background-color: transparent;
    color: rgba(10, 42, 83, 0.9);
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    transition: background-color 0.3s ease; 
}

.pagination-buttons button:hover {
    background-color: rgba(10, 42, 83, 0.9); 
    color: white;
}




.charts-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-around; 
}

.chart-container {
    width: 800px;  
    height: 600px; 
    margin: 10px;  
}

    .navbar {
        background-color: rgba(93, 58, 26, 1);
        padding: 10px;
        margin-top: 10px;
    }

    .navbar ul {
        list-style-type: none;
        padding: 0;
        display: flex;
        justify-content: space-around; 
    }

    .navbar li {
        margin: 0 15px;
    }

    .navbar a {
        color: white;
        text-decoration: none;
        font-size: 16px;
        padding: 5px 10px;
        border-radius: 5px;
        transition: background-color 0.3s;
        text-align: center;
        display: flex;
    }

    .navbar a:hover {
        background-color: rgba(255, 255, 255, 0.2); 
    }
    .nav-link {
        text-decoration: none;
        color: black; 
        padding: 10px; 
    }
    
    .nav-link.active {
        background-color: #007bff; 
        color: white; 
        border-radius: 5px; 
    }
    





.export-button-container {
    text-align: center; 
}

.export-button-container button {
    padding: 10px 20px; 
    font-size: 16px; 
    cursor: pointer; 
    background-color: #007BFF; 
    color: white; 
    border: none; 
    border-radius: 5px; 
}

.export-button-container button:hover {
    background-color: #0056b3; 
}



#reportForm
{
    margin-bottom: -5px;
    margin-top: 5px;
    
}

.date-selection {
    display: flex; 
    gap: 10px; 
}

.date-selection label,
.date-selection input {
    margin: 0px !important;
    margin-right: 0px !important;
}

.date-selection label
{
    max-width: 80px !important;
    margin-right: 10px !important;
    margin-left: 10px !important;
    
    padding: 14px;
    font-size: 15px;
    border-radius: 5px;
    
    color: black;
}

.aNiceHeader{
    color: rgba(10, 42, 83, 0.9);
    font-weight: 500;
}

.date-selection input {
    padding: 10px;
    
    color: black;
    font-size: 15px;
    border: none;
    outline: none;
    border-radius: 5px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.button-group {
    display: flex;           
    gap: 10px;               
    margin-left: auto;       
}


.partially-bigger-button {
    height: 46px !important; 
}

::-webkit-calendar-picker-indicator {
    background-color: #ffffff;
    padding: 5px;
    cursor: pointer;
    border-radius: 3px;
}

.form-group {
    display: flex;            
    gap: 10px;                
    align-items: center;      
    justify-content: center;  
    margin-top: 10px;
}

.form-group label {
    width: 100px;             
     
}

.form-group .form-control {
    flex: 1;                  
}

.text-center {
    text-align: center;         
}
.special-center {
    margin: 0 auto;             
    display: block;             
}



.transaction-id {
    flex-shrink: 0; 
    margin-right: 10px; 
    font-weight: bold; 
    font-family: 'Titillium Web';
    font-size: 1.2em; 
    background-color: rgba(0, 0, 0, 0.123); 
    padding: 5px 10px; 
    border-radius: 5px; 
    color: #333; 
}


.closeMenu{
    display: none;
}

#menu-toggle {
    display: none;
}
.main-menu-mobile{
    display: none;
}

@media screen and (max-width: 1001px) {
    .main-menu {
        display: none; 
    }

    #menu-toggle {
        display: block; 
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 1001;
        font-size: 24px; 
        cursor: pointer;
    }
    .main-content {
        padding: 4px 10px;
        transition: margin-left 0.3s ease;
        flex: 1;
        flex-grow: 1;
        margin: 0;
    }
    .closeMenu{
        display: none;
        position: absolute;
        width: 100vw;
        height: 100vh;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.122);
    }
    .main-menu-mobile{
        
        border-right: 1px solid #e5e5e5;
        position: absolute;
        top: 92px;
        height: auto;
        right: 0;
        width: 100%;
        overflow: hidden;
        -webkit-transition: width .05s linear;
        transition: width .05s linear;
        -webkit-transform: translateZ(0) scale(1, 1);
        z-index: 1000;
        
        background: white;
        flex-direction: column;
        gap: 0.5rem;
    }
    .main-menu-mobile a{
        text-decoration: none;
        padding: 0.5rem;
        color: black;
        font-size: 24px;
    }
    .main-menu-mobile a:hover{
        background-color: rgba(10, 42, 83, 0.9);
        color: white;
    }
    .helloToTheOtherSide p{
        display: none;
    }
    .headerLayout {
        padding: 1rem 1rem;
    }
    .form-label {
        flex: 1 !important;
    }
    .form-group{
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .m-menuIcon{
        display: flex;
    }
    .navbar ul {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .circle-container {
        flex-wrap: wrap;
        gap: 1rem;
        row-gap: 1rem;
    }
    .m-subCards {
        width: 100%;
    }
}
.subtable{
    display: block; overflow-x: scroll;
    scrollbar-width: thin;
}
.m-tableHolder{
    overflow-x: scroll;
    scrollbar-width: thin;
}
.linkToEntects{
    color: #dc3545;
    text-decoration: none;
}
.linkToEntects:hover{
    color: black;
}
.mob-menu-a{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}
.mob-menu-i{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: none;
    padding: none;
}

.submission-page body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    padding: 50px;
}

.submission-page .submission-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.submission-page h1 {
    font-size: 80px;
    color: #17B169;
    margin: 0;
}

.submission-page h2 {
    font-size: 28px;
    margin: 10px 0;
    padding-bottom: 20px;
}

.submission-page p {
    font-size: 16px;
    color: #666;
}

.submission-page a {
    text-decoration: none;
    color: white;
    background: #17B169;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
}

.submission-page a:hover {
    background: #c0392b;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-button {
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    min-width: 35px;
    text-align: center;
}

.pagination-button.active {
    background: #4338ca;
    color: white;
    border-color: #4338ca;
}

.pagination-button.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.pagination-button:hover:not(.disabled):not(.active) {
    background: #f5f5f5;
}

.pagination-ellipsis {
    padding: 6px 4px;
    color: #666;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-template-rows: repeat(2, auto);   
    gap: 15px;                             
    width: 100%;
    min-height: auto;                      
    padding: 15px 0;                       
}

.kpi-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;                         
    min-height: auto;                      
}

.kpi-card {
    background: linear-gradient(135deg, #faf9f7 0%, #f4f1ec 100%);
    border-radius: 16px;                   
    padding: 18px;                         
    width: 100%;
    max-width: 600px;
    height: 280px;                         
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); 
    border: 2px solid #e8e0d6;
    position: relative;
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.kpi-header {
    display: flex;
    align-items: center;
    margin-bottom: 18px;                   
    flex-shrink: 0;                        
}

.kpi-number {
    background: #5d3a1a;
    color: white;
    width: 40px;                           
    height: 40px;                          
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;                       
    font-weight: bold;
    margin-right: 12px;                    
    flex-shrink: 0;
}

.kpi-title {
    color: #3a3a3a;
    font-size: 20px;                       
    font-weight: 600;
    flex: 1;
    margin: 0;
    line-height: 1.2;                      
}

.kpi-icon {
    width: 32px;                           
    height: 32px;                          
    margin-left: 8px;                      
    flex-shrink: 0;
    color: #5d3a1a;
}

.kpi-container {
    position: relative;
    flex: 1;                               
    display: flex;
    flex-direction: column;
    justify-content: space-between;         
}

.kpi-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;                      
    position: relative;
    flex: 1;                               
    min-height: 45px;                      
}

.kpi-item:last-child {
    margin-bottom: 0;
}

.kpi-timeline-dot {
    width: 8px;                            
    height: 8px;                           
    border: 2px solid #d4a574;            
    border-radius: 50%;
    background: white;
    margin-right: 12px;                    
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.kpi-content {
    flex: 1;
    margin-right: 12px;                    
}

.kpi-item-title {
    color: #5d3a1a;
    font-size: 13px;                       
    font-weight: 600;
    margin-bottom: 3px;                    
    margin: 0 0 3px 0;
    line-height: 1.2;                      
}

.kpi-item-subtitle {
    color: #d4a574;
    font-size: 11px;                       
    font-weight: 500;
    margin: 0;
    line-height: 1.2;                      
}

.kpi-progress-circle {
    position: relative;
    width: 50px;                           
    height: 50px;                          
    flex-shrink: 0;
}

.kpi-progress-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #e8e0d6;
}

.kpi-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* Start with 0 degrees */
    background: conic-gradient(#5d3a1a 0deg, #5d3a1a 0deg, #e8e0d6 0deg, #e8e0d6 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.1s ease-out;
}

.kpi-progress-inner {
    width: 36px;                           
    height: 36px;                          
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;                       
    font-weight: bold;
    color: #5d3a1a;
}

/* Updated animation keyframes */
@keyframes kpi-fillProgress {
    from {
        --target-progress: 0deg;
    }
    to {
        --target-progress: var(--final-progress);
    }
}

.kpi-card.theme-water {
    background: #faf9f7;
    border-color: #e8e0d6;
}

.kpi-card.theme-water .kpi-number {
    background: #5d3a1a;
}

.kpi-card.theme-water .kpi-timeline-dot {
    border-color: #d4a574;
}

.kpi-card.theme-water .kpi-item-title {
    color: #5d3a1a;
}

.kpi-card.theme-water .kpi-item-subtitle {
    color: #d4a574;
}

.kpi-card.theme-water .kpi-progress-fill {
    background: conic-gradient(#5d3a1a 0deg, #5d3a1a 0deg, #e8e0d6 0deg, #e8e0d6 360deg);
}

.kpi-card.theme-water .kpi-progress-inner {
    color: #5d3a1a;
}

.kpi-card.theme-crop {
    background: #faf9f7;
    border-color: #e8e0d6;
}

.kpi-card.theme-crop .kpi-number {
    background: #5d3a1a;
}

.kpi-card.theme-crop .kpi-timeline-dot {
    border-color: #d4a574;
}

.kpi-card.theme-crop .kpi-item-title {
    color: #5d3a1a;
}

.kpi-card.theme-crop .kpi-item-subtitle {
    color: #d4a574;
}

.kpi-card.theme-crop .kpi-progress-fill {
    background: conic-gradient(#5d3a1a 0deg, #5d3a1a 0deg, #e8e0d6 0deg, #e8e0d6 360deg);
}

.kpi-card.theme-crop .kpi-progress-inner {
    color: #5d3a1a;
}

.kpi-card.theme-waste {
    background: #faf9f7;
    border-color: #e8e0d6;
}

.kpi-card.theme-waste .kpi-number {
    background: #5d3a1a;
}

.kpi-card.theme-waste .kpi-timeline-dot {
    border-color: #d4a574;
}

.kpi-card.theme-waste .kpi-item-title {
    color: #5d3a1a;
}

.kpi-card.theme-waste .kpi-item-subtitle {
    color: #d4a574;
}

.kpi-card.theme-waste .kpi-progress-fill {
    background: conic-gradient(#5d3a1a 0deg, #5d3a1a 0deg, #e8e0d6 0deg, #e8e0d6 360deg);
}

.kpi-card.theme-waste .kpi-progress-inner {
    color: #5d3a1a;
}

.kpi-card.theme-overall {
    background: #c9bca47c;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 280px;                         
}

.kpi-card.theme-overall .kpi-header {
    margin-bottom: 12px;                   
    padding-bottom: 8px;                   
    border-bottom: 1px solid #f5f5f5;
    flex-shrink: 0;
}

.kpi-card.theme-overall .kpi-number {
    background: linear-gradient(135deg, #c8956d 0%, #b8865d 100%);
    color: white;
    border-radius: 50%;
    width: 60px;                           
    height: 60px;                          
    font-size: 16px;                       
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(184, 134, 93, 0.3);
    margin-right: 12px;                    
}

.kpi-card.theme-overall .kpi-title {
    color: #8b6f47;
    font-size: 16px;                       
    font-weight: 500;
    background: linear-gradient(135deg, #c8956d 0%, #8b6f47 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 5px 14px;                     
    background-color: #c8956d;
    color: white;
    border-radius: 18px;                   
    margin-left: 6px;                      
    line-height: 1.2;
}

.kpi-card.theme-overall .kpi-container {
    padding-left: 0;                       
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kpi-card.theme-overall .kpi-timeline-dot {
    border-color: #e6d7c3;
    background: #f8f6f3;
    width: 8px;
    height: 8px;
    border-width: 2px;
}

.kpi-card.theme-overall .kpi-item {
    margin-bottom: 0;                      
    padding: 8px 0;                        
    border-radius: 8px;                    
    transition: all 0.3s ease;
    flex: 1;                               
    min-height: 35px;                      
}

.kpi-card.theme-overall .kpi-item:hover {
    background: rgba(248, 246, 243, 0.5);
    padding-left: 8px;                     
}

.kpi-card.theme-overall .kpi-item-title {
    color: #6b5b4f;
    font-size: 13px;                       
    font-weight: 700;
    margin-bottom: 2px;                    
}

.kpi-card.theme-overall .kpi-item-subtitle {
    color: #a89c94;
    font-size: 11px;                       
    font-weight: 400;
}

.kpi-card.theme-overall .kpi-progress-circle {
    width: 45px;                           
    height: 45px;
}

.kpi-card.theme-overall .kpi-progress-fill {
    background: conic-gradient(
        #c8956d 0deg, 
        #c8956d 0deg, 
        #f0ebe4 0deg, 
        #f0ebe4 360deg
    );
}

.kpi-card.theme-overall .kpi-progress-inner {
    width: 32px;                           
    height: 32px;
    color: #8b6f47;
    font-size: 9px;                        
    font-weight: 600;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kpi-card.theme-overall {
    transition: all 0.3s ease;
}

.kpi-card.theme-overall:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .kpi-grid {
        grid-template-columns: 1fr;        
        grid-template-rows: repeat(4, auto); 
        gap: 12px;                         
        min-height: auto;
    }
    
    .kpi-wrapper {
        min-height: auto;                  
        padding: 8px 0;                    
    }
    
    .kpi-card {
        padding: 16px;                     
        height: 260px;                     
    }
}

@media (max-width: 480px) {
    .kpi-card {
        padding: 14px;                     
        height: 240px;                     
    }
    
    .kpi-title {
        font-size: 18px;                   
    }
    
    .kpi-number {
        width: 34px;                       
        height: 34px;                      
        font-size: 14px;                   
        margin-right: 10px;                
    }
    
    .kpi-icon {
        width: 26px;                       
        height: 26px;                      
    }
    
    .kpi-progress-circle {
        width: 42px;                       
        height: 42px;                 
    }
    
    .kpi-progress-inner {
        width: 30px;                    
        height: 30px;                 
        font-size: 8px;                  
    }
    
    .kpi-card.theme-overall {
        height: 275px;                   
    }
    
    .kpi-card.theme-overall .kpi-number {
        width: 50px;                     
        height: 50px;                  
        font-size: 14px;               
    }
    
    .kpi-card.theme-overall .kpi-title {
        font-size: 14px;                
        padding: 4px 10px;              
    }
}

.box {
 border: 2px solid #333;
 padding: 20px;
 margin: 20px auto;
 width: 100%;
 max-width: 500px; /* limit stretch on desktop */
background-color: #f9f9f9;
 border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

 display: flex; 
 flex-direction: column;
 align-items: center;
 justify-content: center;
 box-sizing: border-box;
}



.grid-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
     margin: 0 auto;
    justify-content: center;
     box-sizing: border-box;
}

@media (min-width: 600px) {
    .grid-wrapper {
        max-width: 90%;
    }
}

@media (min-width: 900px) {
    .grid-wrapper {
        max-width: 70%;
    }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 80px 40px;
    align-items: stretch; 
}

@media (min-width: 768px) {
.grid-container {
grid-template-columns: 1fr 1fr; /* 2 columns on medium+ screens */
 }
}

.card {
   background: linear-gradient(135deg, #faf9f7 0%, #f4f1ec 100%);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.grid-container > .card {
    height: 100%;
}


.card-header {
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.card-body {
    font-size: 1rem;
}

.card-footer {
    border-top: 1px solid #eee;
    padding-top: 10px;
    text-align: right;
}

.center-item {
 align-items: center;
 justify-content: center;
}

.avatar-letter-a {
    position: relative;
    display: table-cell;
    width: 60px;
    height: 36px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: 20px;
    color: #ffffff;
}

.avatar-letter-f {
    position: relative;
    display: table-cell;
    width: 60px;
    height: 36px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: 20px;
    color: #ffffff;
}
.avatar-letter-a.avatar-2x {
    font-size: 2em; 
}

.avatar-letter-f.avatar-2x {
    font-size: 2em; 
}