/* =====================================================
   ROOT VARIABLES
===================================================== */
:root {
    --green-primary: #5da13f;
    --green-secondary: #4e8834;
    --green-light: #6fb245;
    --green-input: #5da13f;

    --white: #ffffff;
    --text-light: #e9f5e1;

    --font-main: "Poppins";

    --radius-sm: 4px;
    --radius-md: 6px;

    --overlay-dark: rgba(0, 0, 0, 0.6);
}
/* Target autofilled inputs in Edge/Chrome/Safari */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
-webkit-text-fill-color: #000 !important; /* Custom text color */
-webkit-box-shadow: 0 0 0px 1000px #fff inset !important; /* Override background */
transition: background-color 5000s ease-in-out 0s; /* Delay default style reapply */
}

/* Modern :autofill selector for broader support */
input:autofill {
border: 2px solid #ccc; /* Example border for autofilled fields */
}
/* =====================================================
   RESET & BASE
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
}

/* =====================================================
   HEADER
===================================================== */
.top-header {
    background: var(--green-primary);
    color: var(--white);
    padding: 10px 20px;
}

.top-header .header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-center {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
}

.header-center i {
    margin-right: 5px;
}
tr.column-search input[type="text"] {
    background: #fff;
}
button.login-btn {
    background: var(--green-secondary);
    color: var(--white);
    border: none;
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-weight: 400;
}
.breadcrumb-item.active {
    display: flex;
    align-items: center;
}
/* Banner Section */
.agri-banner {
    position: relative;
    width: 100%;
    min-height: 420px;
    background: url("../img/login.jpg") center center / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 60px;
    color: #fff;
}
.agri-last-banner {
  position: relative;
    width: 100%;
    min-height: 511px;
    background: url(../img/contact.jpg) center bottom / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    color: #fff;
}
/* Green Overlay */
.banner-overlay {
    position: absolute;
    inset: 0;
    background: transparent linear-gradient(180deg, #32a100 0%, #54545400 100%)
        0% 0% no-repeat padding-box;
    z-index: 1;
}

/* Content */
.banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #eef6ea;
}

/* Button */
.btn-see-more {
    display: inline-block;
    padding: 10px 22px;
    background: #6fb245;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-see-more:hover {
    background: #5da13f;
    color: #fff;
}

/* cat sec */
.categories-section {
    padding: 70px 20px;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    font-weight: 600;
}

/* Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

/* Card */
.category-card {
    padding: 65px 20px 17px 15px;
    border-radius: 18px;
    text-align: left;
    transition: all 0.35s ease;
    cursor: pointer;
    position: relative;
}
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

/* Icon circle */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.35s ease;
    position: absolute;
    top: -27px;
}

.category-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
}

.icon-circle img {
    width: 38px;
}

/* Text */
.category-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.category-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* Card Backgrounds */
.categories-section .card-1 {
    background: #ffe4ae;
}
.categories-section .card-2 {
    background: #ffe6ea;
}
.categories-section .card-3 {
    background: #c6e290;
}
.categories-section .card-4 {
    background: #e8d7fb;
}

/* Circle Colors */
.card-1 .icon-circle {
    background: #f3961f;
}
.card-2 .icon-circle {
    background: #dfafb7;
}
.card-3 .icon-circle {
    background: #28772e;
}
.card-4 .icon-circle {
    background: #ad97c6;
}
/* agri product */
.agri-products-section {
    position: relative;
    padding: 190px 20px;
    background: url("../img/bg-login.svg") center center / cover no-repeat;
    color: #ffffff;
    overflow: hidden;
    margin: 158px 0px;
}
.form-error {
    text-align: left;
    font-size: 14px;
    margin-bottom: 0px !important;
    color: #c30202;
}
/* Optional dark overlay for readability */
.agri-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.agri-products-section .container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    text-align: center;
}

/* Title */
.agri-title {
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 25px;
    animation: fadeUp 1s ease forwards;
}

/* Description */
.agri-desc {
    max-width: 850px;
    margin: 0 auto 50px;
    font-size: 15px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 1.2s ease forwards;
    animation-delay: 0.2s;
}

/* Stats */
.agri-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat-box {
    opacity: 0;
    animation: fadeUp 1.3s ease forwards;
}

.stat-box:nth-child(1) {
    animation-delay: 0.4s;
}
.stat-box:nth-child(2) {
    animation-delay: 0.6s;
}
.stat-box:nth-child(3) {
    animation-delay: 0.8s;
}

.stat-box h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-box span {
    font-size: 14px;
    opacity: 0.9;
}

/* Animation */
@keyframes fadeUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .agri-title {
        font-size: 30px;
    }

    .agri-stats {
        gap: 40px;
    }
}
/* project */
.projects-section {
    background: #6aa742;
    padding: 50px 75px 0px 75px;
}

/* Title */
.projects-title {
    text-align: center;
    color: #fff;
    font-size: 32px;
    font-weight: 500;
    position: relative;
}

.projects-title span {
    display: block;
    width: 50px;
    height: 2px;
    background: #fff;
    margin: 12px auto 0;
    opacity: 0.8;
}

/* Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    position: relative;
    top: 61px;
}

/* Card Wrapper */
.project-wrap {
    text-align: center;
    animation: fadeUp 0.9s ease forwards;
}

/* Card */
.project-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 0px 35px 0px 0px;
    transition: all 0.35s ease;
}

.project-card img {
    width: 48px;
    margin-bottom: 20px;
}

.project-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #222;
}

.project-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Hover animation */
.project-wrap:hover .project-card {
    transform: translateY(-12px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

/* Button */
.project-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 9px 22px;
    background: #6aa742;
    color: #fff;
    font-size: 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-btn:hover {
    background: #5a9238;
    transform: translateY(-3px);
}
/* footer */
.site-footer {
    background: #6aa742; /* green like screenshot */
    padding: 14px 20px;
}

.footer-container {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Left text */
.footer-left {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
}

/* Right links */
.footer-right {
    display: flex;
    gap: 20px;
}

.footer-right a {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-right a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .projects-title {
        font-size: 26px;
    }
}

/* =====================================================
   MODAL OVERLAY
===================================================== */
.modal {
    background: var(--overlay-dark);
}

.login-modal {
    background: transparent;
    border: none;
}

/* =====================================================
   LOGIN POPUP
===================================================== */
.login-box {
    background: var(--green-light);
    padding: 35px 30px;
    border-radius: var(--radius-md);
    max-width: 380px;
    width: 100%;
    margin: auto;
    text-align: center;
}

.login-logo {
    max-width: 120px;
}

/* =====================================================
   INPUTS
===================================================== */
.custom-input .form-control {
    background: var(--green-input);
    border: none;
    color: var(--white);
    padding: 12px;
}

.custom-input .form-control::placeholder {
    color: var(--text-light);
}

.custom-input .input-group-text {
    background: var(--green-input);
    border: none;
}

.toggle-password {
    cursor: pointer;
}

/* =====================================================
   FORGOT & ACTION
===================================================== */
.forgot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-row a {
    color: var(--text-light);
    font-size: 13px;
    text-decoration: none;
}

.arrow-btn {
    background: var(--white);
    color: var(--green-input);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
}

/* =====================================================
   REGISTER TEXT
===================================================== */
.register-text {
    color: var(--text-light);
    font-size: 13px;
    margin-top: 20px;
}

.register-text a {
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
}

/* =====================================================
   OTP INPUT
===================================================== */
.otp-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.otp-input {
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--green-input);
    color: var(--white);
}

.otp-input:focus {
    outline: 2px solid var(--white);
}
hr.dropdown-divider {
    margin: 0px;
}
.send-otp {
    display: block;
    text-align: right;
    width: 100%;
    color: #fff;
}


    /* Style for icon buttons */
    .accordian-btn {
      padding: 6px 8px;
      cursor: pointer;
      color: #333;
      border-radius: 4px;
      transition: background-color 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 30px;
      height: 30px;
    }
    .accordion-item {
    border-radius: 0px !important;
}
    .accordian-btn:hover {
      background-color: #e2e6ea;
      color: #222; /* Bootstrap primary color */
    }
button.accordion-button.d-flex.justify-content-between.align-items-center{
    background-color: #fff;
    color: #222;
    padding: 7px !important;
}
    /* Override Select2 to fit bootstrap form-control style */
    .select2-container--default .select2-selection--multiple {
      border: 1px solid #ced4da;
      border-radius: 0.375rem;
      padding: 0.375rem 0.5rem;
      min-height: 38px;
      box-sizing: border-box;
    }
/*dashboard  */
.breadcrumb-item a {
    text-decoration: none;
    color: #6cab3c;
}
li.breadcrumb-item {
    color: #393939 !important;
}
.main-header {
    background: #6cab3c;
    padding: 0px 20px;
    z-index: 1000;
}

.logo img {
    display: block;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 8px 14px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: #ffffff;
    color: #6cab3c;
    border-radius: 6px;
}

.dropdown-menu {
    border-radius: 6px;
    padding: 8px 0;
}

.dropdown-item {
    font-size: 14px;
}

/* Right icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.user-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}
.card-header {
    background: #DCDCDC;
    color: #222;
    border-radius: 0px !important;
}
h1.card-title {
    margin-bottom: 0px;
    font-size: 16px;
    color: #222;
}
/* ================= 2 LEVEL DROPDOWN ================= */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.2rem;
    display: none;
}

/* .dropdown-submenu:hover > .dropdown-menu {
    display: block;
} */

/* nav */
/* ================= HEADER ================= */
.main-header {
    background: linear-gradient(135deg, #6cab3c 0%, #5da13f 100%);
    padding: 10px 0px;
    z-index: 1056;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    display: block;
}

/* ================= NAV ================= */
.navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link i {
    font-size: 14px;
    opacity: 0.9;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-1px);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: #fff;
    color: #6cab3c;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link.active i {
    opacity: 1;
}

/* ================= DROPDOWN ================= */
.navbar-expand-lg .navbar-nav .dropdown-menu {
    margin-top: 8px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a.nav-link.dropdown-toggle.show {
    background: #fff;
    color: #6cab3c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-menu {
    border-radius: 8px;
    padding: 8px 0;
}
.select2-container--default .select2-selection--single {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* ================= SUB CHILD MENU ================= */
.dropdown-submenu {
    position: relative;
}

.dropdown-menu.sub-child-menu {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    margin-left: 0.5rem;
    z-index: 1056;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    animation: slideRight 0.3s ease;
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dropdown-menu.sub-child-menu.show {
    display: block;
}
.dropdown-item {
    display: flex;
    align-items: center;
    padding: 7px 12px;
    transition: all 0.2s ease;
    border-radius: 0px;
    margin: 3px 0px;
}

.dropdown-item i {
    font-size: 14px;
    width: 20px;
    opacity: 0.8;
}

.dropdown-item:hover i {
    opacity: 1;
    transform: translateX(2px);
}

span.badge.bg-success.text-dark {
    background: #6cab3c !important;
    color: #fff !important;
    padding: 10px;
}

/* Arrow */
.dropend .dropdown-toggle::after {
    position: absolute;
    right: 10px;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #6cab3c;
    background: white;
    transform: translateX(0px);
    border: 2px solid #6cab3c;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    background: linear-gradient(135deg, #6cab3c 0%, #5da13f 100%);
}
/* Fixed width */
.navbar .dropdown-menu,
.navbar .dropdown-menu.sub-child-menu {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
}
/* top profile */
/* User Profile Section */
.user-profile-section {
    position: relative;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-profile-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.user-avatar .user-initial {
    font-size: 16px;
    font-weight: 600;
    color: #6cab3c;
    line-height: 1;
}

.user-avatar img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.user-info {
    line-height: 1.3;
    color: #fff;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    display: block;
    white-space: nowrap;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.dropdown-arrow {
    color: #fff;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.user-profile-btn[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

/* User Dropdown Menu */
.user-dropdown-menu {
    min-width: 190px;
    border: none;
    border-radius: 8px;
    padding: 0;
    margin-top: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.user-dropdown-menu .dropdown-header {
    padding: 0;
    background: linear-gradient(135deg, #6cab3c 0%, #5da13f 100%);
    color: #fff;
    border-radius: 8px 8px 0 0;
}

.user-dropdown-menu .dropdown-header h6 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.user-dropdown-menu .dropdown-header .user-email {
    color: rgba(255, 255, 255, 0.95);
    font-size: 12px;
}
.navbar-expand-lg .navbar-nav .dropdown-menu li {
    margin: 0px 8px;
}
.user-dropdown-menu .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: #495057;
    transition: all 0.2s ease;
        border: 2px solid #fff;
}

.user-dropdown-menu .dropdown-item:hover {
    background: #f8f9fa;
    color: #6cab3c;
    /* padding-left: 24px; */
}

.user-dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.user-dropdown-menu .dropdown-divider {
    margin: 0;
}

/* Icon */
.icon-btn img {
    width: 34px;
    height: 34px;
    cursor: pointer;
}

/* Old dropdown styles - keeping for backward compatibility */
.profile-dropdown {
    width: 180px;
    padding: 0;
    border: none;
    border-radius: 4px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    overflow: visible;
}

/* Yellow header */
.profile-header {
    background: #fff;
    text-align: center;
    padding: 6px 8px;
    position: relative;
}

.profile-header strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.profile-header span {
    font-size: 11px;
}

/* 🔺 Arrow (Speech bubble) */
.profile-header::after {
    content: "";
    position: absolute;
    top: -9px;
    right: 14px;
    border-width: 0 9px 9px 9px;
    border-style: solid;
    border-color: transparent transparent #e0e0e0 transparent;
}

/* Bottom actions */
.profile-actions {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    background: #5da13f;
}

.action-btn {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 13px;
    text-decoration: none;
}

.action-btn:hover {
    background: #e0e0e0;
    color: #5da13f;
}
.bg-primary {
    background-color: #5da13f !important;
}
.btn-primary {
    background-color: #5da13f !important;
    border-color: #5da13f !important ;
}
ul.navbar-nav.align-items-center {
    gap: 10px;
}
/*  */
/* ================= RIGHT ICONS ================= */
.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.user-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}
/* nav */

/* data table*/
/* Column search inputs */
thead tr.column-search th {
    padding: 6px;
}

thead tr.column-search input {
    width: 100%;
    padding: 6px 6px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 0px;
}

/* Header background */
thead tr:first-child th {
    background: #f2f2f2;
    font-weight: 600;
}

/* Align search box nicely */
.dataTables_filter input {
    padding: 4px 6px;
}
button#exportExcel {
    /* background: #fff; */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
}
/* DataTable length dropdown with icon */
.dt-length-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dt-length-wrapper i {
    font-size: 14px;
    color: #6c757d;
}

.dataTables_length label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
}

.dataTables_length select {
    width: 65px;
    padding: 2px 6px;
    font-size: 13px;
}
/* radio button css */
.user-type-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #fff;
  font-size: 15px;
}

.radio-card input {
  display: none;
}

/* Outer circle */
.radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #bfe6a8;
  position: relative;
}

/* Inner dot when checked */
.radio-card input:checked + .radio-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radio-text {
  user-select: none;
}




/* =====================================================
   RESPONSIVE
===================================================== */

/* Tablet */
@media (max-width: 991px) {
    .header-center {
        justify-content: center;
        gap: 15px;
        font-size: 13px;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .agri-banner {
        padding: 30px;
        min-height: 350px;
    }

    .banner-content h1 {
        font-size: 34px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .header-center {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 10px;
        gap: 10px;
        font-size: 13px;
    }

    .header-center img {
        height: 24px;
    }

    .top-header {
        padding: 10px;
    }

    .login-box {
        padding: 25px 20px;
    }

    .otp-input {
        width: 40px;
        height: 40px;
    }
}

/* DataTable loading states */
.dt-fade {
    opacity: 0;
    transition: opacity 150ms ease-in;
}

.dt-ready {
    opacity: 1;
}

/* =====================================================
   DASHBOARD STYLES
===================================================== */
:focus{
    outline: unset;
}
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.card-header.gray-card-header {
    background: #DCDCDC;
}
.card-header.gray-card-header .card-title{
   color: #222;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(93, 161, 63, 0.15) !important;
}

.badge {
    font-size: 0.85rem;
    font-weight: 500;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

.fw-500 {
    font-weight: 500;
}

/* .dataTables_processing {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    padding: 12px 16px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    z-index: 10 !important;
} */
div.dataTables_processing>div:last-child>div {
    position: absolute;
    top: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgb(108 171 60);
    background: rgb(108 171 60);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
/* table */
 table.dataTable {
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid #dcdcdc;
}

table.dataTable thead th {
  background: #f2f2f2;
  font-weight: 600;
  border-right: 1px solid #dcdcdc;
  border-bottom: 1px solid #cfcfcf;
  padding: 12px;
}

table.dataTable tbody td {
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 12px;
}
.dt-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.dataTables_filter {
  position: relative;
}

.dataTables_filter input {
  padding: 8px 35px 8px 10px;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  font-size: 14px;
}

/* search icon */
.dataTables_filter::after {
  content: "\f002";
  font-family: "FontAwesome";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}
.dataTables_paginate .paginate_button {
  border: 1px solid #d0d0d0 !important;
  margin-left: 3px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #5da13f !important;
  color: #fff !important;
  border-radius: 0px;
}
.dt-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
/* Hover effect */
.dataTables_paginate .paginate_button:hover {
  background: #5da13f !important;   /* green */
  color: #ffffff !important;
  border: 1px solid #4e8c33 !important;
}
.dataTables_paginate .paginate_button.previous:hover,
.dataTables_paginate .paginate_button.next:hover {
  background: #eaeaea !important;
  color: #5da13f !important;
}
.dataTables_paginate .paginate_button.previous:hover,
.dataTables_paginate .paginate_button.next:hover {
  background: #eaeaea !important;
  color: #5da13f !important;
}
.dataTables_paginate .paginate_button.current {
  background: #5da13f !important;
  color: #fff !important;
  border-radius: 0px;
}
.select2-container--default .select2-selection--single
 {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    display: block;
    width: 100%;
    padding: .375rem 0rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    min-height: 38px;
    height: 38px;
}.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
}
.dataTables_wrapper .dataTables_filter input {

    padding-right: 35px;
}
.form-check-input:checked {
    background-color: #6cab3c;
    border-color: #6cab3c;
    box-shadow: unset;
}
.btn-outline-primary {
    color: #6cab3c;
    border-color: #6cab3c;
}
.btn-outline-primary:hover,.btn-outline-primary:active,.btn-outline-primary:focus {
    background-color: #6cab3c;
    color: #fff;
    border-color: #6cab3c;
}
/* swwet alert */
div:where(.swal2-container).swal2-center>.swal2-popup {

    border-top: 10px solid #6cab3c;
}
div:where(.swal2-icon).swal2-warning {
    border-color: #6cab3c;
    color: #6cab3c;
}

.swal2-actions {
    display: flex;
    justify-content: end;
    width: 90%;
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm),div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover
 {
  
    background-color: #6cab3c !important;

}

/* dashboard */
body {
    background: #EBEBEB;
}

.card-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    flex-wrap: wrap;
}

.card-inner{
  padding: 16px;
  border-radius: 1px;
  box-shadow: 0px 3px 6px #2C28281C;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

.card-value {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
}

/* Card Gradients */
.card-1 {
  background: linear-gradient(90deg, #1B4F35 0%, #33855C 100%);
}

.card-2 {
  background: linear-gradient(90deg, #498842 0%, #57B44D 100%);
}

.card-3 {
  background: linear-gradient(91deg, #70AA3F 0%, #7FCB3F 100%);
}

.card-4 {
  background: linear-gradient(90deg, #8CA424 0%, #B8DC1F 100%);
}

.card-5 {
  background: linear-gradient(90deg, #A4A415 0%, #E8E80D 100%);
}
.bottom-card-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: Arial, sans-serif;
}

.bottom-card-container .status-card {
  background: #ffffff;
  border-radius: 1px;
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.bottom-card-container .label {
  display: block;

    font-size: 17px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 600;
}

.bottom-card-container .value {
  font-size: 22px;
  font-weight: bold;
}

/* Colors */
.bottom-card-container .red {
  color: #e53935;
}

.bottom-card-container .orange {
  color: #fb8c00;
}

.bottom-card-container .purple {
  color: #8e24aa;
}

.bottom-card-container .green {
  color: #9e9d24;
}
/* infowindow */

.map-info-card {
  width: 300px;
  font-family: Arial, sans-serif;
}

.map-info-header {
  background: #6aa843;
  color: #fff;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.map-info-header h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.map-info-close {
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.map-info-body {
  background: #fff;
  padding: 14px;
      overflow-y: auto;
    max-height: 263px;
}

.map-info-label {
  font-size: 13px;
  color: #9e9e9e;
  margin-bottom: 4px;
}

.map-info-value {
  font-size: 14px;
  color: #000;
  font-weight: 500;
}

.map-info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.map-info-divider {
  border-top: 1px solid #e0e0e0;
  margin: 12px 0;
}
/* Hide default Google Maps InfoWindow close button */
.gm-ui-hover-effect {
  display: none !important;
}
.gm-style-iw-ch,.gm-style .gm-style-iw-c {
  padding:0px !important;
    padding-top: 0px;

}
.gm-style .gm-style-iw-d{
    overflow: unset !important;
        max-height: unset !important;
}
.gm-style .gm-style-iw-c{
    border-radius: 0px;
        max-height: unset !important;
}
/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
background-color: #ffffff;
/* background-image: url("../img/404-BG.png"); */
background-position: center center;
background-size: cover;
background-repeat: no-repeat;

    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}
#preloader.loaded {
    opacity: 0;
    pointer-events: none;
}
.spinner {
    width: 75px;
    height: 75px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #5DA13F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* steper */
.stepper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.stepper .step-item {
  flex: 1;
  text-align: center;
  position: relative;
  cursor: pointer;
}
.stepper .step-item .step-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background-color: #f0f0f0;
  line-height: 32px;
  font-size: 18px;
  color: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}
.stepper .step-item.completed .step-icon {
  border-color: #28a745;
  background-color: #28a745;
  color: #fff;
}
.stepper .step-item.active .step-icon {
  border-color: #6cab3c;
  background-color: #6cab3c;
  color: #fff;
}
.stepper .step-item.upcoming .step-icon {
    border-color: #6cab3c;
    background-color: #ffffff;
    color: #6cab3c;
}
.stepper .step-item .step-label {
  font-size: 14px;
  color: #666;
  user-select: none;
  max-width: 123px;
  margin: 0 auto;
}
.stepper .step-item.completed .step-label {
  color: #28a745;
  font-weight: 600;
}
.stepper .step-item.active .step-label {
  color: #6cab3c;
  font-weight: 600;
}
.stepper .step-item.upcoming .step-label {
  color: #999;
}

/* Connecting lines between steps */
.stepper .step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px; /* center vertically aligned with icon */
  /* right: -104px; */
  width: calc(100% - 0px);
  height: 4px;
  background-color: #ccc;
  z-index: 1;
}
.stepper .step-item.completed:not(:last-child)::after {
  background-color: #28a745;
}
.stepper .step-item.active:not(:last-child)::after {
  background: #ccc;
}
.dataTables_scrollBody {
    height: 100% !important;
}.card.border-primary {
    border-color: #d1d1d1 !important;
    border-radius: 0;
}
.btn-outline-primary:hover,.btn-outline-primary:focus,.btn-outline-primary:active,.btn-outline-primary:focus-visible,:not(.btn-check)+.btn.btn-outline-primary:active,.btn.btn-outline-primary.disabled, .btn.btn-outline-primary:disabled, fieldset:disabled .btn.btn-outline-primary{
   background-color: #28a745;
   border-color: #28a745;  
   box-shadow: unset;
   color: #fff;
}.modal-header {
    background: #7cb342;
    color: #fff;
}button.btn-close {
    filter: invert(1);
    opacity: 1;
}
.btn-outline-primary:active, .btn-outline-primary:focus{
       background-color: #28a745 !important;
   border-color: #28a745 !important;  
   box-shadow: unset;
   color: #fff;
}.alert-success {
    --bs-alert-color: #28a745;
    --bs-alert-bg: #28a74521;
    --bs-alert-border-color: #28a74575;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #6cab3c;
    color: white;
}.select2-container--default .select2-results>.select2-results__options {

    overflow-x: hidden;
}
input.form-control:read-only{
        background: #fbfbfb;
        color: #919191;
}
.daterangepicker td.in-range {
    background-color: #6cab3c21;
    border-color: transparent;
    color: #000;
    border-radius: 0;
}
.daterangepicker td.active, .daterangepicker td.active:hover
 {
    background-color: #6cab3c;
    border-color: transparent;
    color: #fff;
}.site-footer a:hover {
    text-decoration: none;
}
button.btn.send-otp.full:hover,button.btn.send-otp.full:focus,button.btn.send-otp.full:focus-visible,button.btn.send-otp.full:focus-within,button.btn.send-otp.full:active,button.btn.send-otp.full:active{
    border-color: transparent !important;
    color: #fff !important;
}
.btn:hover{
      border-color: transparent !important;outline: unset;
     color: #fff !important;
}    .collapse {
    visibility: visible !important;
}
.select2-container {
    width: 100% !important;
}
ul.dropdown-menu.sub-child-menu.show
 {
    margin-left: 15px;
}