.modal-form {
  /* Modal styles */
  /* Responsive adjustments */
  /* Define different column widths for different screen sizes */
}
.modal-form .keysight-care-modal {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  overflow: scroll;
}
.modal-form .keysight-care-modal .validation {
  display: none;
}
.modal-form .keysight-care-modal .validation.active {
  display: inline-block;
  color: #e90029;
  font-weight: 600;
}
.modal-form .keysight-care-modal .isloading {
  position: absolute;
}
.modal-form .header-panel-column-wrapper {
  display: none;
}
.modal-form .keysight-care-modal-content {
  background-color: #f6f7f9;
  margin: 10% auto;
  padding: 3.125rem;
  border: 1px solid #888;
  width: 900px;
  min-width: 300px;
  border-radius: 30px;
}
.modal-form .banner-header {
  line-height: 1.125rem;
  font-size: 1em;
  color: #262626;
  font-weight: 600;
}
.modal-form .banner-description,
.modal-form .banner-description p {
  line-height: 1.7rem;
  font-size: 1.35em;
  color: #262626;
  font-weight: 600;
  text-wrap: balance;
}
.modal-form button {
  display: block;
  margin: 10px auto;
  font-weight: normal;
  font-size: 18px;
  background-color: #e90029;
}
.modal-form .form-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.modal-form .col {
  flex: 1;
  margin-right: 10px;
  margin-left: 10px;
}
.modal-form .color-red {
  color: #e90029;
}
.modal-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: normal;
  color: #2f3236;
}
.modal-form .section-label {
  font-weight: normal;
  text-transform: uppercase;
  font-size: 14px;
  color: #19416d;
}
.modal-form .form-control {
  width: 100%;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 30px;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.modal-form .centered-content {
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-form .parent {
  display: flex;
  flex-wrap: wrap;
}
.modal-form .child {
  display: flex;
  flex-direction: column;
}
.modal-form .first {
  margin-right: 15px;
}
.modal-form .second {
  flex-direction: column;
  justify-content: center;
  margin-top: 15px;
}
.modal-form .font-sub-heading {
  font-size: 20;
}
.modal-form .btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  color: #ffffff;
}
.modal-form .btn-primary:hover {
  background-color: #0069d9;
  border-color: #0062cc;
  color: #ffffff;
}
.modal-form .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem #e90029;
  outline: none;
}
.modal-form .form-sub-heading-wrapper {
  display: flex;
  align-items: center;
  margin: 20px 0px;
}
.modal-form .form-heading {
  text-transform: uppercase;
  font-weight: normal;
  font-size: 13px;
  color: #19416d;
}
.modal-form h1.modal-form-heading {
  font-size: 2rem;
}
.modal-form .welcome-back-banner {
  text-align: center;
  display: none;
}
.modal-form .form-control {
  padding: 12px 20px 12px 20px;
}
.modal-form .text-align-right {
  text-align: right;
}
.modal-form .text-align-center {
  text-align: center;
}
.modal-form .logo-img {
  max-width: 70%;
  margin: auto;
}
.modal-form .product-img {
  width: 100%;
}
.modal-form .form-sub-heading-wrapper img {
  margin-right: 10px;
}
.modal-form .modal-submit {
  border: 0;
  border-radius: 1.5625rem;
  cursor: pointer;
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25rem;
  padding: 0.9375rem 3.125rem;
  text-align: center;
  width: auto;
  transition: all 0.2s ease-in-out;
  background: #e90029 !important;
  margin: 20px 0px;
}
.modal-form .modal-submit:disabled {
  background-color: #edecee !important;
  cursor: not-allowed;
}
@media (max-width: 820px) {
  .modal-form .keysight-care-modal-content {
    width: 90%;
  }
}
@media (max-width: 768px) {
  .modal-form .col {
    flex-basis: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .modal-form .form-control {
    margin-bottom: 10px;
  }
}
.modal-form .alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
  z-index: 9999;
  /* Ensure it appears on top of other content */
}
.modal-form .alert-content {
  max-width: 400px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.modal-form .alert-title {
  font-size: 24px;
  margin-top: 0;
}
.modal-form .alert-message {
  margin-top: 10px;
}
.modal-form .alert-button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  background: #e90029 !important;
}
.modal-form .row {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal-form .row::after {
  content: "";
  display: table;
  clear: both;
}
.modal-form .column {
  float: left;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .modal-form .col-1 {
    width: 8.33%;
  }
  .modal-form .col-2 {
    width: 16.66%;
  }
  .modal-form .col-3 {
    width: 25%;
  }
  .modal-form .col-4 {
    width: 33.33%;
  }
  .modal-form .col-6 {
    width: 50%;
  }
  .modal-form .col-8 {
    width: 66.66%;
  }
  .modal-form .col-9 {
    width: 75%;
  }
  .modal-form .col-12 {
    width: 100%;
  }
  .modal-form .banner-header {
    font-size: 1.5em;
  }
  .modal-form .banner-description p {
    line-height: 1.5;
    font-size: 1.5em;
  }
  .modal-form .parent {
    flex-direction: row-reverse;
  }
  .modal-form .row {
    flex-direction: row;
  }
  .modal-form .logo-img {
    float: right;
  }
}
.modal-form .Loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #e90029;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  margin-right: 4px;
  position: fixed;
  display: none;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
.modal-form .isloading {
  display: inline-block;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.modal-form .center {
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .modal-form #keysightCareModalForm .centered-content .child.first {
    flex: 0 24%;
  }
}
.modal-form #keysightCareModalForm .centered-content .child.first img {
  display: block;
  width: 100%;
}
@media only screen and (min-width: 768px) {
  .modal-form #keysightCareModalForm .centered-content .child.second {
    flex: 1 72%;
  }
}
