.finance-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.tab-button {
    flex: 1;
    padding: 10px;
    background: #eee;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}
.tab-button.active {
    background: #009688;
    color: #fff;
}

.finance-modal {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  z-index: 9999;
  padding: 0;
  border: 1px solid #ccc;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  display: none;
	max-height: 80vh;
    overflow: scroll;
}
.finance-modal-content {
  display: flex;
}
.finance-modal-left {
  flex: 2;
  padding: 20px;
}
.finance-modal-right {
  flex: 1;
  background: #f9f9f9;
  padding: 20px;
  border-left: 1px solid #ddd;
}
body[data-fancy-form-rcs="1"] .select2-container {
  z-index: 9999;
}

button#open-finance-modal {
    color: white;
    background: rgba(0, 148, 154, 1.0);
    border: none;
    font-size: 1rem;
    line-height: 1.2rem;
    padding: 6px 10px;
}
button#open-finance-modal:hover {
	background-color:rgba(40, 80, 255, 1.0) !important;
	
}
#close-finance-modal {
	padding:7px 11px;
}

#close-finance-modal:hover {
	padding:7px 11px;
	color:white;
}

.modal-close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    z-index: 10001;
}

.modal-close-button:hover {
    color: #e60000;
}