* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Poppins";
  src: url("../utils/assets/Fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Poppins-SemiBold";
  src: url("../utils/assets/Fonts/Poppins-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins-Bold";
  src: url("../utils/assets/Fonts/Poppins-Bold.ttf") format("truetype");
}

body {
  background-color: #f3f4f6;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow: auto;
}

.container {
  background-color: #fff;
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.header {
  background: linear-gradient(to right, #1e4275, #01d9e4);
  text-align: center;
  color: #fff;
  position: relative;
  height: 12em;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.header-top {
  background-color: white;
  display: flex;
  align-items: center;
  height: 5em;
  padding: 0 20px;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  justify-content: start;
}

.header-top img {
  height: 100%;
  max-height: 4em;
  width: auto;
}

.header-top .bajaj-logo {
  height: 50%;
  max-height: 4em;
  width: 70%;
  margin-left: 50px;
}

.header-bottom {
  height: 7em;
  display: flex;
  align-items: start;
  justify-content: flex-start;
  border-radius: 0 0 30px 30px;
  background: linear-gradient(to right, #1e4275, #01d9e4);
  font-family: "Poppins-SemiBold", sans-serif;
}

.header-bottom .title {
  padding: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-align: left;
}

.content {
  font-family: "Poppins", Arial, sans-serif;
  flex-grow: 1;
}

.userInput {
  border-radius: 10px;
  padding: 10px;
  max-width: 70%;
  margin: 20px auto 0;
}

.userInput .form-group {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 15px;
}

.userInput .form-group input:focus {
  outline: none;
  border: 1px solid #d1d5db;
}

.userInput .form-group label {
  display: block;
  margin-bottom: 5px;
  color: #034796;
  font-size: 14px;
  width: 45%;
  font-family: "Poppins-Bold", Arial, sans-serif;
  font-size: 12px;
}

.userInput .form-group input {
  width: 50%;
  padding: 5px 16px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  background-color: #f3f4f6;
  font-size: 12px;
  font-family: "Poppins", Arial, sans-serif;
  color: #034796;
}

.custom-select {
  position: relative;
  font-family: "Poppins", Arial, sans-serif;
  color: #034796;
  width: 50%;
  border: 1px solid #d1d5db;
  border-radius: 5px;
}

.custom-select select {
  display: none;
}

.select-selected {
  background-color: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  font-size: 12px;
  padding: 8px 16px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  color: #034796;
  text-align: left;
  white-space: normal;
}

.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #034796 transparent transparent transparent;
}

.select-selected.select-arrow-active:after {
  border-color: transparent transparent #034796 transparent;
  top: 7px;
}

.select-items div,
.select-selected {
  color: #034796;
  padding: 5px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
  font-size: 12px;
  white-space: normal;
}

.select-items {
  position: absolute;
  background-color: #f3f4f6;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

.select-hide {
  display: none;
}

.select-items div:hover,
.same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
  font-family: "Poppins-Bold", Arial, sans-serif;
  color: #034796;
}

.btn {
  width: 30%;
  padding: 10px;
  background-color: #add8e6;
  color: #003366;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  margin: 0 auto 20px;
  text-align: center;
  display: block;
  transition: background-color 0.3s ease;
  font-family: "Poppins-Bold", Arial, sans-serif;
}

.btn:hover {
  background-color: #044696;
  color: #ffffff;
}

.loan-amount-outer {
  background-color: #cce4f7;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.loan-amount-div {
  background-color: white;
  padding-bottom: 10px;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.loan-amount {
  margin-top: 10px;
  padding: 10px;
  background-color: #5dbc46;
  border-radius: 10px;
  color: #ffffff;
  text-align: center;
  width: 80%;
  margin: 10px auto 0;
  padding: 2px 2px;
}

.loan-amount .loan-amount-title {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 5px;
  font-family: "Poppins-Bold", Arial, sans-serif;
}

.loan-amount-value {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
}

.loan-amount p {
  font-size: 27px;
  font-weight: bold;
  color: #ffffff;
}

.output {
  margin-top: 20px;
  padding: 20px;
  background-color: #f0fff4;
  border-radius: 5px;
}

.tabs {
  display: flex;
  justify-content: space-around;
  background-color: #e0f3ff;
  border-radius: 10px;
  margin-bottom: 20px;
  margin: 20px auto;
  width: 80%;
  font-family: "Poppins-Bold", Arial, sans-serif;
}

.tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  font-family: "Poppins-Bold", Arial, sans-serif;
  color: #034796;
  background-color: transparent;
  border: none;
}

.tab.active {
  background-color: #034796;
  color: #ffffff;
  border-radius: 10px;
}

.benefit {
  text-align: center;
  background-color: #4d9b36;
  padding: 15px;
  border-radius: 10px;
  color: #ffffff;
  font-family: "Poppins-Bold", Arial, sans-serif;
  margin: 20px auto;
  width: 80%;
}

.benefit h3 {
  margin: 5px 0;
  line-height: 1.2;
}

.benefit .benefit-line {
  margin: 5px 0;
}

.benefit .benefit-line span {
  font-size: 27px;
  font-weight: bold;
  color: #ffffff;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px auto;
  width: 80%;
}

.option {
  background-color: #e0f3ff;
  border-radius: 10px;
  padding: 10px;
  width: 80%;
  margin: 0 auto;
}

.option-header {
  text-align: center;
  font-family: "Poppins-Bold", Arial, sans-serif;
  color: #e51a4c;
  margin: 10px 0;
}

.option h4 {
  color: #e51a4c;
  text-align: center;
  margin-bottom: 10px;
  font-family: "Poppins-Bold", Arial, sans-serif;
}

.option h5 {
  color: #164163;
  text-align: center;
  margin-bottom: 10px;
  font-family: "Poppins-Bold", Arial, sans-serif;
}

.option .form-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.option .form-group label {
  margin-bottom: 0;
  color: #034796;
  width: 45%;
  font-family: "Poppins-Bold", Arial, sans-serif;
  font-size: 12px;
}

.option .form-group input {
  width: 50%;
  padding: 5px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  background-color: #f3f4f6;
  font-size: 12px;
  font-family: "Poppins", sans-serif;
  color: #034796;
}

.loan-amount-outer .disclaimer {
  width: 90%;
  margin: 10px auto;
  background-color: #cce4f7;
  font-size: 10px;
  color: #024696;
  padding: 10px;
  border-radius: 5px;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  align-items: center;
  justify-content: center;
  display: flex;
  max-width: 500px;
  text-align: center;
}

.loan-amount-outer .disclaimer .diclaimer-content {
  padding-bottom: 10px;
}

.footer {
  text-align: center;
  color: #4a5568;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  width: 90%;
  margin: 0 auto 10px;
}

.footer-content {
  background-color: #ffffff;
  padding: 10px;
  border-radius: 5px;
  color: #034796;
  font-size: 10px;
}
.regular-text {
  font-family: "Poppins", Arial, sans-serif;
}

.bold-text {
  font-family: "Poppins-Bold", Arial, sans-serif;
}

.hidden {
  display: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .title {
    font-size: 20px;
  }

  .header-top .bajaj-logo {
    height: 100%;
    max-height: 2em;
    width: 80%;
    margin-left: 10px;
  }

  .btn {
    font-size: 14px;
  }

  .loan-amount-title,
  .loan-amount-value {
    font-size: 16px;
  }

  .benefit h3 {
    font-size: 16px;
  }

  .option h4,
  .option h5 {
    font-size: 14px;
  }

  .option .form-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .option .form-group label,
  .option .form-group input {
    width: 100%;
  }

  .userInput .form-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .userInput .form-group label,
  .userInput .form-group input,
  .userInput .form-group select {
    width: 100%;
  }

  .userInput .form-group select {
    background-size: 16px 16px;
    padding-right: 20px;
  }

  .userInput .form-group .custom-select {
    width: 100%;
  }

  .select-selected {
    background-color: #f3f4f6;
  }

  .select-selected:after {
    top: 14px;
    right: 10px;
    border: 6px solid transparent;
    border-color: #034796 transparent transparent transparent;
  }

  .select-selected.select-arrow-active:after {
    border-color: transparent transparent #034796 transparent;
    top: 7px;
  }

  .select-items div {
    padding: 8px 16px;
    font-size: 12px;
    background-color: #f3f4f6;
  }

  .select-items {
    background-color: #f3f4f6;
  }
}
