* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: 'Noto Sans', sans-serif !important;
    /* font-family: 'Open Sans', Arial, sans-serif; */
}

/* Side navigation */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 50px;
    background-color: #ffffff;
    box-shadow: 3px 0px 6px #00000029;
    transition: width 0.3s ease;
    z-index: 1000;
    overflow-x: hidden;
    white-space: nowrap;
    bottom: 0;
    min-height: 100vh;
}

    .sidebar:hover {
        width: 225px;
        box-shadow: 3px 0px 6px #00000029;
    }

.sidebar-brand {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 5px;
    color: #333;
    text-decoration: none;
    /* border-bottom: 1px solid transparent; */
}

    .sidebar-brand img {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 50%;
    }

.brand-text {
    font-weight: 700;
    font-size: 16px;
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar:hover .brand-text {
    opacity: 1;
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
    margin-top: 5px;
}

.nav-item {
    margin-bottom: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 15px 12.5px;
    color: #4a4a4a;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .nav-link img {
        width: 25px;
        height: 25px;
        min-width: 25px;
        flex-shrink: 0;
        object-fit: contain;
    }

    .nav-link:hover {
        background-color: rgb(240, 240, 240);
    }

.nav-item.active .nav-link {
    background: transparent linear-gradient(180deg, #EEB879 0%, #D67808 100%) 0% 0% no-repeat padding-box;
    color: #ffffff;
}

.nav-text {
    margin-left: 10px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar:hover .nav-text {
    opacity: 1;
}

/* Main Content */
.main-content {
    margin-left: 50px;
}

/* Top Header */
.top-header {
    box-shadow: 0px 1px 0px #00000029;
}

.header-title h5 {
    color: #3E3E3E !important;
    font-size: 18px;
    margin-bottom: 0px;
    font-size: 16px;
    font-weight: 600;
}

.search-bar {
    width: 375px;
}

    .search-bar input {
        padding-right: 35px;
        font-size: 13px;
        height: 38px;
        background: #FFFFFF;
        border: 1px solid #BFBFBF;
        border-radius: 5px;
        font-size: 12px !important;
        color: #707070 !important;
    }

        .search-bar input:focus {
            box-shadow: none;
            border: 1px solid #6D5402 !important;
        }

.search-icon {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    position: absolute;
}

.btn-insights {
    background-color: #6D5402;
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

    .btn-insights:hover {
        background-color: #5f4c0c;
        color: #ffffff;
    }

.notification-wrapper .badge {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 5px;
    left: 20px;
    font-weight: 400;
    background: #FF0000;
}

@media (max-width: 768px) {
    .search-bar {
        max-width: 100%;
    }

    .top-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .search-bar {
        width: 100%;
        order: 10;
        margin-top: 10px;
    }
}

/* Added CSS */

.bg_img {
    background: url('../Images/AdobeStock_417660686.png') center center no-repeat;
    background-size: cover;
    min-height: calc(100vh - 60px);
}

/* Card with background image */
.card-bg {
    width: 100%;
    aspect-ratio: 1 / 1.18;
    background: url('../Images/Group 26268.png') no-repeat center;
    background-size: 100% 100%;
    position: relative;
}

.cardbg2 {
    width: 100%;
    aspect-ratio: 1 / 1.18;
    background: url('../Images/Group 26273.png') no-repeat center;
    background-size: 100% 100%;
    position: relative;
}

.cardbg3 {
    width: 100%;
    aspect-ratio: 1 / 1.18;
    background: url('../Images/Group 26270.png') no-repeat center;
    background-size: 100% 100%;
    position: relative;
}

.cardbg4 {
    width: 100%;
    aspect-ratio: 1 / 1.18;
    background: url('../Images/Group 26275.png') no-repeat center;
    background-size: 100% 100%;
    position: relative;
}

.cardbg5 {
    width: 100%;
    aspect-ratio: 1 / 1.18;
    background: url('../Images/Group 26272.png') no-repeat center;
    background-size: 100% 100%;
    position: relative;
}

.cardbg6 {
    width: 100%;
    aspect-ratio: 1 / 1.18;
    background: url('../Images/Group 26277.png') no-repeat center;
    background-size: 100% 100%;
    position: relative;
}

.cardbg7 {
    width: 100%;
    aspect-ratio: 1 / 1.18;
    background: url('../Images/Group 26269.png') no-repeat center;
    background-size: 100% 100%;
    position: relative;
}

.cardbg8 {
    width: 100%;
    aspect-ratio: 1 / 1.18;
    background: url('../Images/Group 26274.png') no-repeat center;
    background-size: 100% 100%;
    position: relative;
}

.cardbg9 {
    width: 100%;
    aspect-ratio: 1 / 1.18;
    background: url('../Images/Group 26271.png') no-repeat center;
    background-size: 100% 100%;
    position: relative;
}

.cardbg10 {
    width: 100%;
    aspect-ratio: 1 / 1.18;
    background: url('../Images/Group 26276.png') no-repeat center;
    background-size: 100% 100%;
    position: relative;
}

/* Content inside card */
.card-content {
    position: absolute;
    /* top: 32%; */
    top: 25%;
    left: 49%;
    transform: translateX(-50%);
    width: 70%;
    text-align: center;
}

/* Title */
.card-title {
    font-size: clamp(12px, 1.2vw, 12px);
    font-weight: 800;
    margin: 5px 0px;
}

/* Labels */
.label.farmlabel {
    font-size: clamp(10px, 1vw, 12px);
    position: relative;
    font-weight: 500;
}

/* Values */
.value.farmvalue {
    font-size: clamp(11px, 1.1vw, 13px);
    font-weight: bold;
}

@media (max-width: 768px) {
    .card-content {
        /* top: 34%; */
        top: 26%;
        width: 75%;
    }
}

@media (max-width: 480px) {
    .card-content {
        /* top: 36%; */
        top: 25%;
        width: 80%;
    }

    .card-title {
        font-size: clamp(10px, 1.2vw, 12px);
        font-weight: bold;
        margin-bottom: 6px;
    }
}

@media(min-width:1024px) {
    .card-content {
        top: 22% !important;
    }
}
