#popup-form-modal {
    display: none; /* shown via JavaScript */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* full width */
    height: 100vh; /* full height */
    background-color: rgba(0, 0, 0, 0.5); /* better readability */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;

}

#popup-form-modal .popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 80%;
	width:50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#popup-form-modal .close-btn {
	position: absolute;
	top: 5px;
	right: 10px;
	cursor: pointer;
	font-size: 20px;
}

#open-popup-btn {
	padding: 10px 20px;
}


.tab-header {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}

.tab-link {
  padding: 10px 20px;
  cursor: pointer;
  background: #f0f0f0;
  border: none;
  border-bottom: 2px solid transparent;
  font-weight: bold;
}

.tab-link.active {
  background: #ddd;
  border-bottom: 2px solid #333;
}

.tab-form {
  display: none;
}

.tab-form.active {
  display: block;
}


/* Styles by Isuru */

.trip-form-control {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    column-gap: 20px;
    margin-bottom: 20px;
}

.trip-form-field {
    width: 50%;
    display: flex;
    flex-direction: column;
    column-gap: 20px;
}

.trip-form-field.full-width{
  width: 100%;
  margin-bottom: 20px;
}

.trip-form-field label{
    font-size: medium;
	color: black !Important;
	font-weight: 500;
}

.trip-form-field label sup.mandatory{
    color: red !important;
    font-size: small;
    
}
.trip-form-field input, .trip-form-field select{
    height: 28px;
	border-radius: 5px;
	border: 1px solid #404040;
}

.trip-form-field textarea{
	
	border-radius: 5px;
	border: 1px solid #404040;
}

.trip-form-field input:focus, .trip-form-field textarea:focus{
	border-color: #1175BC;
}

.trip-form-button, .call-form-button{
	width: 100%;
	height: 50px;
	font-size: large;
	background-color: #1175BC;
	border-radius: 10px;
	border-color: #1175BC;
	color: white;
}

.tab-header {
    width: 100%;
    gap: 0;
}

button.tab-link {
    width: 50%;
    height: 50px;
	background: #cfebff;	
	font-size: large;
}

button.tab-link.active {
	background: #1175BC;
	color: white;
}

button.tab-link.trip-tab {
	border-radius: 15px 0px 0px 15px;
}

button.tab-link.call-tab {
	border-radius: 0px 15px 15px 0px;
}