
 /* Close Button */
 .invoice-close {
	float: right;
    top: 10px !important;
    right: 10px !important;
    font-size: 28px;
    font-weight: bold;
	cursor: pointer;
  }
  
/* Modal Content */
.invoice-success-modal {
    position: relative;
    margin: 20% auto; /* Center the modal vertically and horizontally */
    padding: 20px;
    width: 80%;
    max-width: 500px; /* Adjust as needed */
	min-height: 110px;
    background: #fff;
    border-radius: 8px;
	font-size: 16px;
	font-weight: 400;
}

/* Close Button */
.close-success {
    position: absolute;
    top: 10px; /* 24px from the top of the modal */
    right: 24px; /* 24px from the right edge of the modal */
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333; /* Adjust color as needed */
}

.close-success:hover {
    color: #e6e6e6; /* Change color on hover if desired */
}

.errorMessageModal {
   display: none;
   position: fixed;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   width: 50%;
   padding: 24px;
   max-width: 500px; 
   min-height: 110px;
   border: none;
   background: #fff;
   border-radius: 8px;
   overflow-wrap: break-word;
   z-index: 10000; /* Ensure it appears above other content */
   box-shadow: 4px 8px 12px 0 rgba(0,0,0,0.4);
   animation: show-modal .7s ease-in-out;
  }

.errorCloseBtn {
  background: #FF4742;
  border: 1px solid #FF4742;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 1px 2px 4px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: Poppins;
  font-size: 16px;
  font-weight: 800;
  width: 100px;
  height: 35px;
  line-height:30px;
  outline: 0;
  text-align: center;
  vertical-align: middle;
  overflow-wrap: break-word;
}

.errorCloseBtn:hover,
.errorCloseBtn:active {
  background-color: initial;
  background-position: 0 0;
  color: #FF4742;
}

/* Table CSS */
.invoice-table-container {
    width: 90%;
	padding-top: 18px;
    overflow-x: auto; /* Enables horizontal scroll */
	overflow-y: auto;
	
}

.invoice-table {
    overflow-x:auto;
    overflow-y:auto;
    color: rgba(0, 0, 0, 0.87);
    border-spacing: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /*box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    margin-left: auto;
    margin-right: auto;
    font-family:Poppins, sans-serif;
	font-weight: 400;
    font-size: 14px;
    text-align: left;
    padding-bottom: 12px;
    white-space: nowrap;
}

.invoice-table th:first-of-type {
  border-top-left-radius: 12px;
}
.invoice-table th:last-of-type {
  border-top-right-radius: 12px;
}
.invoice-table tr:last-of-type td:first-of-type {
  border-bottom-left-radius: 12px;
}
.invoice-table tr:last-of-type td:last-of-type {
  border-bottom-right-radius: 12px;
}

.invoice-table td {
    padding: 10px;
}

.invoice-table thead th {
    text-align: center;
    background-color: #00838F;
    padding:8px;
	height: 40px;
	font-weight:600;
	font-size: 17px;
    color: #ffffff;
    white-space: normal;
}

.invoice-status-column, 
.custom-table{
text-align: center;
    width: 50px;
}

.invoice-table tbody tr:nth-of-type(even) {
    background-color: #E2F1F2;
}

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

.checkbox-container {
    text-align: center;
    vertical-align: middle;
}

.checkbox-container input[type="checkbox"] {
    transform: scale(1.5); 
}
.status-dropdown {
    width: 108px;
    border-radius: 8px;
    padding: 4px;
    font-size: 14px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-family: Poppins, sans-serif;
}
.status-dropdown:hover 
{background-color: #f1f1f1}

.rebuild-invoice-btn,
.download-invoice-btn,
.email-invoice-btn {
	border-radius: 8px;
	text-decoration: none;
	cursor: pointer;
	background-color: #00838F;
	border: 1px solid rgb(137, 151, 155);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	height: 28px;
	transition: all 150ms ease-in-out 0s;
}

.rebuild-invoice-btn:hover,
.download-invoice-btn:hover,
.email-invoice-btn:hover {
    color: #ffffff;
    background-color: #2c698d;               
}

/* Specific background colors */
.darkBlueBtn {
	display: inline-block;
    cursor: pointer;
    padding: 0 20px;
    height: 40px;
    border-radius: 7px;
    font-weight: 400;
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	color: white;
    background-color: #2C698D; /* Color for Save button */
	border: none;
}

.darkBlueBtn:hover {
 background-color: #040a0e;
  text-decoration: none;
}

.hollowBtn {
	color: #2C698D;
	border: 2px solid #2C698D; 
    background-color: #ffffff; /* Color for Paid button */
}

.centeredImg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  color: red;
}
.notes-table {
	text-align: left;
	font-style:italic;
	font-size:11px;
	width: 200px;
	white-space:pre;
}


/* Modal Container */
.modal-overlay-container {
    z-index: 999999;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
/* Modal Content/Box */
.invoice-create-modal-content {
    background-color: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(155,216,210,1) 100%);
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #888;
    max-width: 800px; 
}

.batch-modal-create-invoice-btn,
.modal-create-invoice-btn,
.modal-create-invoice-btn:active{
    align-items: center;
	text-align:center;
	font-size:16px;
    background: #e3e6e6;
    border: 1px solid #e3e6e6;
    border-radius: 10px;
    color: #000000;
	cursor: pointer;
    display: block;
    font-weight: 700;
    height: 40px;
    justify-content: center;
    width: 180px;
    margin: 0 auto !important;
}

.create-batch-invoice-btn {
    background-color: #00838F;
	border: 1px solid rgb(137, 151, 155);
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.12) 0 1px 1px;
    color: #FFFFFF;
    cursor: pointer;
    display: block;
	font-size:17px;
    font-weight: 800;
    height: 40px;
    justify-content: center;
    width: 210px;
}
.create-batch-invoice-btn:hover {
    color: #ffffff;
    background-color: #2c698d;               
}

.batch-modal-create-invoice-btn:hover,
.modal-create-invoice-btn:hover,
.modal-create-invoice-btn:focus {
  background-color: #00b5a4;
  color: #ffffff;
	box-shadow: 0 0 0 4px rgba(0, 149, 255, .15);
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}