@charset "UTF-8";

.cal-bg{
	background-color: #f9b115; 
}
.sc{
	color:red;
}


/* milk supplier payment view */



#select-language{
	border:none;
}

.error{
	color:red;
}

.cattleImageLabel{
    color: #f76820;
    font-weight: 400;
    font-size: 13px;
    }
    
.documentImageLabel{
    color: #f76820;
    font-weight: 400;
    font-size: 13px;
    }
    
.archive{
	text-decoration:none; 
	color:#2c384af2;
}


/* eye password */
.eye-icon {    
    position: absolute;
    top: 50%;
    right: 12px; 
    transform: translateY(-50%);
    cursor: pointer;
    padding: 5px; 
    z-index: 1; 
} 

#loginPassword{
   border-radius: 0;
   border-top-right-radius: 5px;
   border-bottom-right-radius: 5px;
}

.eye-parent-div{
    position: relative;
}

/* notification */
   .eye-notification-div{
    position: relative;
   }
   
   .eye-notification{
      position: absolute;
      z-index: 20;
   }
   
   .readfilter{
      filter: opacity(.6);
   }
   
   
/* milkcycle history */
.cattle-badge{
	font-size:14px;
}
.image-container img {
	max-width: 100%; /* Ensure the image fits within its container */
	height: auto; /* Maintain aspect ratio */
}

.button-over-image {
	background-color: #f8f9fa; /* Light grey background */
	color: #343a40; /* Dark text */
	border: none;
	padding: 5px 10px;
	margin-top: -30px; /* Position the button over the image */
	position: relative;
	z-index: 1; /* Ensure the button is above the image */
	cursor: pointer; /* Change cursor to indicate it's clickable */
}


/* milkcollectiondairy list */
.total-milk{
	background:#DEECFF;
}




/* milk collection supplier add*/
.selectedSupplier{
	font-size: 19px;
    color: #321fdb;
    display: inline;
}

.nameText{
	font-size: 17px;
}


/* milk collection dairy and supplier*/
.cow{
     background-color: #ebedef;
     color: #060606;
}
.buffalo{
     background-color: #305289de;
     color: #ffffff;
}
.gir {
    background-color: #e3a68a;
    color: #000000;
}

/* milkcollection */
.morning-status{
	color:#f34747e8;
}

.evening-status{
	color:#4681fff7;;
}

.sun-color{
	filter: saturate(90%) invert(65%) sepia(90%) saturate(3000%) hue-rotate(1deg) brightness(100%) contrast(104%);
}

.moon-icon {
	filter: invert(40%) sepia(84%) saturate(516%) hue-rotate(148deg) brightness(108%) contrast(108%);
}

.summary-amount{
    color: #321fdb;
}
.summaryAmountBorder{
	border: 2px solid #e6e5e5; 
	padding: 8px;
}

/* milk supplier payment */
.qrcodeHeader , .paymentUpiId{
	color: #ff7b09;
}

.paymentUpiId{
	font-size: 18px; 
}
.removeUnderline{
	text-decoration: none;
}

.qr-upi-msg{
	color: #070707; 
	font-size: 18px; 
	text-align: center;
}

.date-range{
	color:#f34085;
	font-size: 17px;
}

.supplier-payment{
	font-size: 19px;
    color: #321fdb;
}

.paymentCardHeader{
	margin-right:10px;
}


.custom-cell-class {    
    white-space: normal;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* custom tabs style */
.nav-link {
	color: currentColor;
	opacity: 0.8;
	font-weight: normal;
}
.nav-tabs .nav-link.active, 
.nav-tabs .nav-item.show .nav-link {
    color: #f37017;
    border-color: transparent;
    position: relative;
    font-weight: 500;
}

.nav-tabs .nav-link.active::after, 
.nav-tabs .nav-item.show .nav-link::after {
	position: absolute;
	content: '';
	left: 0;
	width: 100%;
	height: 3px;
	bottom: 0;
	top: auto;
	background: #f37017;
}

.nav-tabs .nav-link:hover, 
.nav-tabs .nav-link:focus {
	border-color: transparent;
	color: #f97a15;
}

/*Table custom UI*/
.table-container {
    width: 100%;
    overflow-x: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
}
        
table {
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .26);
}
th, td {
    text-align: left;
    border : 1px solid #e5e7eb;
    padding: 14px 24px;	
}
th.gridjs-th,
.table > :not(caption) > tr > th,
 .table tr th {
    background: #3b82e3d1 !important;
    color: white !important;
}

.table > :not(caption) > tr > td,
.table > :not(caption) > tr > th {
	border: 1px solid #e5e7eb;
}

.table > :not(caption) > * > * {	
	padding: 14px 24px;	
}

.supplierTypeName{
	font-size :23px;
}

th{
	background-color : #f9fafb;
}

.collected-expense {
    margin-top: 5px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    font-weight: bold;
    color: #343a40;
    font-size: 1rem;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}




/* New CSS additions */

/* Status cancelled */
.status-cancelled {
	color: red;
}

 .gridjs-wrapper {
  overflow-x: auto;
  position: relative;
}

#AdvanceSearchCollectionWrapper .gridjs-wrapper, #destinationWrapper .gridjs-wrapper {
  overflow-x: auto;
  overflow-y: auto; 
  position: relative;
  max-height: 500px; 
}
.sticky-column::after {
  content: "";
  position: absolute;
  top: 0;
  right: -5px;
  bottom: 0;
  width: 5px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
  pointer-events: none;
}


.sticky-column {
  position: sticky;
  left: 0;
  background-color: #fff;
  z-index: 3; 
}

.gridjs-th.sticky-column {
  z-index: 5; 
  color: white !important;
  background-color: #5E99E8 !important;
}

.gridjs-tbody .sticky-column {
  background-color: white !important;
}


.sticky-header {
  position: sticky;
  top: 0;
  z-index: 4; 
  background-color: #fff;
}

.gridjs-th.sticky-header {
  z-index: 6; 
  color: white !important;
  background-color: #5E99E8 !important;
}


.gridjs-th.sticky-column.sticky-header {
  z-index: 7 !important;
  color: white !important;
  background-color: #5E99E8 !important;
}


.sticky-column-second {
  z-index: 3;
}


/* Ensure the header is above other sticky elements */
.gridjs-th.sticky-column-second {
  z-index: 5;
  color: white !important;
  background-color: #5E99E8 !important;
}
.total-orange {
    background-color: #ffa500; /* Light orange background */
    color: #000000; /* Text color, adjust as needed */
}

.gridjs-td {
    border: 1px solid #aaa !important; /* Lighter grey for table cell borders */
}

.gridjs-tr {
    border-bottom: 1px solid #aaa !important; /* Lighter grey for border between rows */
}
 
.gridjs-search {
    border: 1px solid #aaa !important; 
    border-radius: 6px !important;
}

.total-amount{
	font-size: 19px;
    color: #321fdb;
    display: inline;
}


.table td {
    border: 1px solid #aaa !important; /* Lighter grey for table cell borders */
    color: #000 !important; /* Black text for better readability */
}

.table td input {
    color: #000; /* Change text color inside the input field */
}
.table td textarea {
    color: #000; /* Change text color inside the input field */
}
.table th {
    border: 1px solid #aaa !important; /* Matching border for headers */
    color: #000 !important; /* Black text for headers */
}
.table tr {
    border-bottom: 1px solid #aaa !important; /* Lighter grey for border between rows */
}


.notifications-wrapper .card {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 20px;
  padding: 15px;
}

.notifications-wrapper .readfilter {
  filter: opacity(0.7);
  background: linear-gradient(145deg, #e0f7fa, #e0e0e0);
  border-left: 6px solid #4caf50;
}

.notifications-wrapper .unreadfilter {
  background: linear-gradient(145deg, #ffecb3, #ffe0b2);
  border-left: 6px solid #f44336;
  animation: pulse 1s infinite;
}

.notifications-wrapper .notification-title {
  font-weight: bold;
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.notifications-wrapper .notification-content {
  font-size: 1.1rem;
  color: #34495e;
  margin-top: 10px;
  line-height: 1.5;
}

.notifications-wrapper .notification-timestamp {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-top: 5px;
}

.notifications-wrapper .eye-notification {
  font-size: 1.6rem;
  color: #3498db;
  cursor: pointer;
  transition: color 0.3s;
}

.notifications-wrapper .eye-notification:hover {
  color: #1d72a3;
}

.notifications-wrapper .btn-outline-info {
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s, color 0.3s;
}

.notifications-wrapper .btn-outline-info:hover {
  background-color: #1d72a3;
  color: #ecf0f1;
}
#errorModalBody {
    white-space: pre-line; /* This will render \n as line breaks */
}
/* Sticky column styling */
#wrapperD .sticky-column {
  position: sticky;
  left: 0;
  z-index: 3;
  background-color: inherit; /* Inherit row's background color */
}

/* Highlight selected rows */
#wrapperD .gridjs-tbody tr.selected-row {
  background-color: #ebf5ff !important; /* Row's selected background color */
}

/* Ensure sticky column inherits the row's selected background */
#wrapperD .gridjs-tbody tr.gridjs-tr-selected .sticky-column {
  background-color: #ebf5ff !important;
}

/* batch number */
.batchNoBadge{
	color: #248b0f !important;
    background-color: #c9f4c4 !important;
    font-size: 15px;
}

/* milk distribution advance search */
/* Custom class for table wrapper with scrollbars */
.custom-grid-wrapper {
    overflow-x: auto; 
    overflow-y: auto; 
    max-height: 500px;
}

/* Custom sticky header class */
.custom-sticky-header {
    position: sticky;
    top: 0; 
    z-index: 4; 
    background-color: #fff;
}



/* role menu assingnment */
	.menu-container {
	    display: none; 
	    margin-left: 10px;
	}
	
	.submenu {
	    display: none;
	    padding-left: 20px;
	}
	
	.menu-item, .submenu-item {
	    list-style: none;
	    margin: 5px 0;
	    padding: 5px 10px;
	    cursor: pointer; 
	    transition: background 0.2s;
	}
	
	.menu-item:hover, .submenu-item:hover {
	     background-color: #f5f5f5;
         box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
         color: black;
	}
	
	.active-menu {
	    background-color: #505050 !important;
	    color: white !important;
	    font-weight: bold;
	    border-left: 5px solid #fe9954; 
	    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	}

	.menu-checkbox:checked + .menu-item, 
	.menu-checkbox:checked + .submenu-item {
	    background-color: #007bff;
	    color: white !important;
	    font-weight: bold;
	    border-left: 5px solid #0056b3;
	}
	
	.chevron-icon {
	    transition: transform 0.3s ease-in-out;
	    display: inline-block; 
	    margin-right: 5px;
	}
	
	.rotate-down {
	    transform: rotate(90deg);
	}
	
	.menu-label {
	    cursor: pointer;
	    font-weight: bold;
	    display: flex;
	    align-items: center;
	}
	
	.toggle-icon {
	    margin-right: 5px;
	}
	
	.remove-btn{
	    border: none;
	    background-color: white;
	    color: red;
	    font-size: 19px;
	}
	
	#menuTable thead th {
        position: sticky;
        top: 0;
        background-color: #f8f9fa; 
        z-index: 1; 
    }
    
	.popover-text {
	    display: inline-block;
	    position: relative;
	    cursor: pointer;
	    padding-right: 8px; 
	}

	.popover {
	    margin-left: 85px !important; 
	}
	
	.menu-tag {
	    background-color: #3c56ff;
	    color: white;
	    padding: 2px 6px;
	    border-radius: 4px;
	    font-size: 12px;
	}
	
	.submenu-tag {
	    background-color: #28a745;
	    color: white;
	    padding: 2px 6px;
	    border-radius: 4px;
	    font-size: 12px;
	}
	
	.color-text {
        display: inline;
        color: #ff773e;
    }

 
