.dashboard-header {
    background: #F2F2FDFF;
    padding: 10px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px 5px 0 0;
}
.border-box {
    border: 1px solid #000;
    padding: 10px;
}

.sidebar {
    background-color: white;
    border-right: 1px solid #e9ecef;
    min-height: 100vh;
    position: fixed;
    width: 252px;
}

.main-content {
    margin-left: 280px;
    padding-top: 20px;
    padding-right: 20px;
    overflow-x: hidden;
}

.logo {
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
}

.logo-image {
    width: 120px;
}

.nav-item .nav-link {
    color: #212529;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.nav-item .nav-link.active {
    background-color: #3740B0;
    color: white;
    border-radius: 8px;
}

.nav-icon {
    margin-right: 10px;
    font-size: 20px;
}

.dashboard-title {
    color: #3740B0;
    font-weight: 700;
    margin-bottom: 30px;
}

.stat-card {
    border-radius: 16px;
    padding: 20px;
    padding: 10px !important;
    border: none;
}

.farmers-card {
    background-color: #EFEFFC;
}

.farms-card {
    background-color: #FFF1F1;
}

.yield-card {
    background-color: #F1F7FF;
}

.stat-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 30px;
    font-weight: 700;
}

.change-indicator {
    font-size: 14px;
    display: flex;
    align-items: center;
}

.change-positive {
    color: #28a745;
}

.export-btn {
    border-radius: 8px;
    background-color: white;
    border: 1px solid #dee2e6;
}

.table-responsive {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    padding: 16px;
}

.table td {
    padding: 16px;
    vertical-align: middle;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid #e7e3e3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 25px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent white transparent;
}


.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
.tab-btn, .filter-btn, .export-btn{
    border-color: #636AE8FF !important;
}

.filter-btn:hover, .export-btn:hover{
    background-color: #007bff !important;
    color: white !important;
}

.tab-btn.active {
    background-color: #007bff !important;
    color: white !important;
}


.user-info {
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-new {
    background-color: #e7f5ff;
    color: #0072CE;
}

.status-progress {
    background-color: #fff8e6;
    color: #916e00;
}

.status-completed {
    background-color: #e6f4ea;
    color: #137333;
}

.pagination {
    margin-top: 20px;
}

.page-item.active .page-link {
    background-color: #3740B0;
    border-color: #3740B0;
}

.map-container {
    height: 346px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#map {
    width: 100% !important;
    height: 100vh;
}
.mapboxgl-canvas{
    width: 100% !important;
}


.satellite-services {
    display: flex;
    align-items: center;
    color: #B0152B;
    font-weight: 600;
    margin-bottom: 15px;
}

.satellite-icon {
    margin-left: 10px;
    font-size: 24px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.purple-icon {
    background-color: #EDEDFB;
    color: #3740B0;
}

.pink-icon {
    background-color: #FBEAEA;
    color: #B0152B;
}

.blue-icon {
    background-color: #EBF5FF;
    color: #0067B2;
}

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

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

#chartdiv {
    width: 100%;
    height: 350px;
}


.button-container {
    width: 32px;
    height: 74px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.play-button-1 {
    width: 0;
    height: 0;
    border-left: 20px solid pink;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    transform: rotateY(150deg);
}
.play-button-2 {
    width: 0;
    height: 0;
    border-left: 20px solid pink;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}
.even, .odd{
    cursor: pointer;
}
.gm-style-iw-chr {
    display: none !important;
}
.gm-style-iw, .gm-style-iw-c{
    padding: 0 !important;
}
.table-container {
    /* border: 1px solid rgb(241, 241, 241);
    border-radius: 12px; */
    overflow: hidden;
    background: white;
    max-width: 600px;
    margin: 20px auto;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    vertical-align: middle;
}
.table > :not(caption) > * > * {
    padding: 15px;
}
.table-header {
    background-color: #f8f9fa;
    font-weight: 600;
}

.dataTables_scrollBody{
    max-height: 475px !important;
    height: 452px !important;
}




/* image gallery */
.card-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap; 
    gap: 2rem; 
    overflow-x: auto; 
    padding-bottom: 1rem; 
    height: 250px;
}

.card-imggal {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    width: 320px;
    padding: 12px;
    flex-shrink: 0;
    cursor: pointer;
}

.card-imggal:hover {
    cursor: pointer;
}

.card-img-top {
    height: 210px;
    width: auto;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    cursor: pointer;
}

.date-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.stage-label {
    font-weight: 500;
    margin-bottom: 0;
}

.view-all-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.show-btn {
    color: #333 !important;  /* Dark gray से थोड़ा गहरा टेक्स्ट */
    background-color: white !important; /* बैकग्राउंड वाइट */
    border: 2px solid darkgray !important;
    padding: 5px 10px !important; /* बटन को थोड़ा बड़ा करने के लिए */
    border-radius: 5px !important; /* किनारे थोड़े गोल करने के लिए */
    cursor: pointer !important; /* क्लिक करने का संकेत देने के लिए */
    transition: all 0.3s ease-in-out !important; /* होवर इफेक्ट स्मूथ करने के लिए */
}

.show-btn:hover {
    background-color: darkgray !important; /* होवर करने पर बैकग्राउंड डार्क */
    color: white !important; /* टेक्स्ट वाइट */
}



/* Modal/Lightbox styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
  }
  
  .modal-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  
  .modal-content img {
    max-width: 90%;
    max-height: 80vh;
    margin: auto;
    display: block;
    object-fit: contain;
  }
  
  .close-modal {
    position: absolute;
    top: 15px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
  }
  
  .prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .prev {
    left: 20px;
  }
  
  .next {
    right: 20px;
  }
  
  .prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }
  
  .caption-text {
    color: white;
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
  }
  
  .image-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 1rem;
  }
  


  /* skeleton css */


  .skeleton-loader {
    width: 100%;
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    }

    @keyframes shimmer {
        0% { background-position: 200% 0; }
        100% { background-position: -200% 0; }
    }











/* Media Query */
@media (max-width: 768px) {
    .new-rr{
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    #mapContainer, #galleryContainer{
        width: 100% !important;
    }
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1050;
        position: fixed;
        height: 100vh;
    }
    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
    }

    .top-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-header-items {
        width: 100%;
        justify-content: flex-end;
    }
    .header-titlefor-btn {
        display: flex;
        align-items: center;
        position: relative;
        width: 100%;
    }
    
    .header-titlefor-btn h1 {
        flex-grow: 1;
        text-align: center;
    }
    
    .header-titlefor-btn button {
        margin-right: auto;
    }
    .search-bar {
        width: 100%;
    }

    .filters {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn, .export-btn {
        width: 48%;
        margin-bottom: 10px;
    }

    .activity-div{
        display: flex !important;
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    .row-per{
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .col-per{
        width: 100% !important;
    }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

 /* .form-select:focus {
  border-color: red !important;
  outline: 1 !important;
 } */

 .form-main {
  background-color: #f1f3f8;
  padding: 10px 10px;
  }
.form-label{
  font-size: 18px !important;
}
.th{
  color: rgb(9, 9, 75);
  font-weight: bolder;
}



.bg-custom{
  background-color: #fafafa;
}

.flex-grow-half{
  flex-grow: 0.5 !important;
}
.flex-grow-two-third{
  flex-grow: 0.66 !important;
}
.font-12{
  font-size: 14px;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
}

.btn-outline-blue {
  --bs-btn-color: #052b4d !important;
  --bs-btn-border-color: #052b4d !important;
  --bs-btn-hover-color: #fff !important;
  --bs-btn-hover-bg: #052b4d !important;
  --bs-btn-hover-border-color: #052b4d !important;
  --bs-btn-focus-shadow-rgb: 108, 117, 125 !important;
  --bs-btn-active-color: #fff !important;
  --bs-btn-active-bg: rgb(5, 43, 77) !important;
  --bs-btn-active-border-color: #052b4d !important;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(5, 43, 77, 0.125) !important;
  --bs-btn-disabled-color: #052b4d !important;
  --bs-btn-disabled-bg: transparent !important;
  --bs-btn-disabled-border-color: #052b4d !important;
  --bs-gradient: none !important;
}
