
#checker {
    position: fixed;
    top: -1000px;
    right: 0;
    width: 300px;
}

.modal-body {
    padding: 0;
}

#modal-inputs {
    padding: 1rem;
}

/*butterflies*/


.butterfly-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.butterfly {
    position: absolute;
    font-size: 24px;
    animation: flap 0.4s infinite alternate, fadeOut 2s forwards;
}

/*table*/

.small-font {
    font-size: 0.9rem !important;
}

thead {
	background-color: #00ffff;
}

#table-products td, #table-products th {
    padding: 5px;
}

#table-products td, #table-products th, #table-products td input, #table-products td select {
    font-size: 0.9rem;
}

#table-products th {
    font-weight: 600;
}

#total-payment-summary th, #total-payment-profit th {
    font-weight: bold;
    padding: 10px 5px;
}

/***SEARCH CSS*/
.search-results-div {
	position: absolute;
	width: 100%;
	max-height: 300px;
	overflow-y: auto;
	background: white;
	border: 1px solid #ccc;
	z-index: 1000;
	top: 40px;
	max-width: 500px;
}

.search-container-div {
    display: flex;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.search-container-div:hover {
    background-color: #f0f0f0;
}

.search-container-left {
    margin-right: 10px;
}

.search-container-right h4 {    
	font-weight: bold;
    font-size: 1rem;
    color: #1768d0
}

.search-container-right h5 {   
    font-weight: 600; 
	font-size: .9rem;
	
}

.search-image-icon {
	background-color: #e6e6e6;
	border-radius: 5px;
	border: 1px solid #dbdbdb;
}



.search-image-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}


/********QUOTATION / ORDER LIST***********/

#quotation-list-select {	
	margin: 5px;
}

#table-list {
	font-size: 0.85rem;
}

#table-list th {
	padding: 0;
}

#tbody-list {	
	max-height: 70vh;
	overflow-y: auto;
}

/*#table-list table {
  table-layout: fixed;
  width: 100%;
}

#table-list th, #table-list td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 8px;
  box-sizing: border-box;
}
*/

/*******drag and drop image********/

.drop-zone {
    border: 2px dashed #007bff;
    padding: 30px;
    text-align: center;
    color: #aaa;
    cursor: pointer;
    border-radius: 10px;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.drop-zone.dragover {
    background-color: #f0f8ff;
    border-color: #0056b3;
    color: #0056b3;
}

#preview-image {
    max-width: 100%;
    max-height: 300px;
    margin-top: 15px;
}

@keyframes flap {
    from {
    transform: scaleX(1) rotate(0deg);
    }
    to {
    transform: scaleX(-1) rotate(5deg);
    }
}

@keyframes fly {
    0% {
    transform: translate(0, 0);
    }
    100% {
    transform: translate(var(--x), var(--y));
    }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}