/* Modal Styling */
#leadsModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.modal-header img.modal-logo {
  width: 100px;
}



.modal-header h2 {
  font-size: 24px;
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

.modal-body p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.modal-body .form-group {
  margin-bottom: 15px;
}

.modal-body .form-group input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
  outline: none;
}

.modal-btn {
  background-color: #f9784b;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  width: 100%;
}

.modal-btn:hover {
  background-color: #ffa584;
}

/* Preventing modal from being closed */
#leadsModal button.close {
  display: none;
}

.modal-logo {
    padding-top: 20px;
}

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

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

/* Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

/* Modal Content */
.modal-cont {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    text-align: center;
}

.modal-cont h2 {
    font-size: 24px;
    margin-top: 10px;
    font-weight: bold;
    color: #f9784b;
}
.close {
    color: #333;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover, .close:focus {
    color: red;
}

/* Loader CSS */
.loader {
    border: 8px solid #f3f3f3; /* Light gray */
    border-top: 8px solid #f9784b; 
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto; /* Center the spinner */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


