body {
  background: linear-gradient(to right, #e0f7fa, #ffffff);
  background-image: url('../../img/background.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  font-family: 'Segoe UI', sans-serif;
  /* min-height: 700px; */
  position: relative;
}

html,
body {
  margin: 0;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
}


.bg-primary {
background-color: #34A853!important;
padding: 12px !important;
border-radius: 0px;
text-align: center;
}
.card {
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.card-header {
  border-bottom: none;
  font-size: 1.2rem;
}

.form-label {
  font-weight: 600;
}

.input-group>.form-control,
.input-group>.btn {
  border-radius: 0.375rem;
}

.page-body-login {
  width: 600px;
  margin: 100px auto;
}

.content-wrapper {
  background-color: #ffffff;
  padding: 20px;
}

.login-head {
  background-color: #6777ef;
  padding: 10px;
  text-align: center;
  margin-bottom: 25px;
}

.login-head .d2d-title {
  color: #f1f1f1;
  font-size: 25px;
  line-height: 25px;
  margin: 0px;
}

.login-header {
  text-align: center;
  margin-bottom: 25px;
}

.login-site-logo {
  width: 100px;
}

.btn-primary {
  width: 100%;
  background-color: #34A853!important;
  padding: 10px;
  color: #ffffff;
  font-weight: 700;
}

.input-title {
  font-size: 16px;
  font-weight: 700;
  color: #6777ef;
  display: block;
}

.bg-primary {
  background-color: #34A853!important;
  padding: 12px !important;
  border-radius: 0px;
  text-align: center;
}

.d2d-body {
  border: 1px solid #c1c1c1;
}

.form-group {
  margin-bottom: 5px;
  padding: 10px;
}

.form-group:nth-child(even) {
  background-color: #cccccc;
}
.input-group {
  margin-top: 5px;
  display: flex;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

.form-control {
  border: 2px solid #6777ef;
  width: 100%;
  padding: 10px
}

.input-group-prepend {
  width: auto;
  display: flex;
}

.alert-danger {
  color: white;
  background-color: #E5343D;
  border-color: #BD000A;
  padding: 10px;
}

.alert-dismissible {
  position: relative;
}

.alert-dismissible .close {
  font-size: 18px;
  top: -2px;
  right: 3px;
  text-shadow: none;
  opacity: 1;
  position: absolute;
  text-decoration: none;
  color: #fff;
}

.otp_span {
  min-width: 75px;
  background-color: #6777ef;
  padding: 8px;
  border-radius: 0px;
  text-align: center;
  border: none;
  color: #ffffff;
  font-weight: 700;
}

.otp_span:hover {
  background-color: #677700;
}

.error_msg,
.invalid {
  color: #BD000A;
  margin: 2px 0px;
}

.valid {
  color: #00ff00;
  margin: 2px 0px;
}


.resend_button {
  background: transparent;
  border: none;
  color: #6777ef;
  font-size: 15px;
}

.resend_button:hover {
  color: #0077ff;
}

.loader {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #f3f3f3;
  /* Light grey */
  border-top: 2px solid #3498db;
  /* Blue */
  border-radius: 50%;
  animation: spin 0.5s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}


.pledge_box_data {
  height: 300px;
  overflow: scroll;
  margin-top: 20px;
  /* border: 1px solid #cccccc; */
  background-color: #f1f1f1;
  padding: 10px;
}


.pledge_box_data p {

  font-size: 20px;
  margin-top: 0px;
}

.pledge_english,
.pledge_hindi {

  display: none;

}

.pledge_checkbox {
  margin-top: 15px;
  display: flex;
  align-items: center;
}

.pledge_checkbox input[type="checkbox"] {
  margin-right: 10px;
}

.language-toggle {
  margin-bottom: 15px;
  margin-top: 15px;
}

.language-toggle label {
  display: inline-block;
  margin-right: 10px;
  cursor: pointer;
}

.language-toggle input[type="radio"] {
  display: none;
}

.language-toggle input[type="radio"]+span {
  padding: 5px 10px;
  background-color: #007bff;
  color: #fff;
  border-radius: 5px;
  display: inline-block;
}

.language-toggle input[type="radio"]:checked+span {
  background-color: #0056b3;
}





footer.footer {
  background-color: #f8f9fa;
  text-align: center;
}

.footer-section {
  color: #fff;
  padding: 15px 0;
  text-align: center;
}

/* Section 1: Light → Medium Blue */
.footer-citizen {
  /* background: linear-gradient(90deg, #3E6796, #2C4C73); */
  background: linear-gradient(90deg, #2C3E5A, #34A853);
  font-size: 1.25rem;
  font-weight: 600;
}

/* Section 2: Dark → Deeper Blue */
.footer-logos {
  background: linear-gradient(90deg, #1B1E27, #1B283B);
  /* background: linear-gradient(90deg, #1E88E5, #64B5F6); */
}

.footer-logos img {
  max-height: 35px;
  margin: 0 10px;
  transition: transform 0.3s ease;
}

.footer-logos img:hover {
  transform: scale(1.1);
}

/* Section 3: Almost Black Gradient */
.footer-bottom {
  background: linear-gradient(90deg, #2C3E5A, #0B0C12);
  font-size: 0.9rem;
}

.footer-bottom span {
  font-weight: bold;
}


@media screen and (max-width:991px) {
  
  .table-responsive table tr th{
    font-size: 15px;
    padding: 5px;
    }
    .table-responsive table tr td{
      font-size: 15px;
      padding: 5px;
      }
  
}
@media (max-width:768px) {
  .footer-logos img {
    max-height: 30px;
    margin: 5px;
  }
}

@media screen and (max-width:600px) {
  .page-body-login {
    width: 100%;
    margin-top: 25px;
    height: auto;
  }

  .content-wrapper {
    padding: 10px;
  }

  .login-site-logo {
    width: 70px;
  }

  .d2d .d2d-body {
    padding: 15px;
  }
  h4{
    font-size: 1.1rem!important;
  }
  h5{
    font-size: 1rem!important;
  }
  .btn{
    font-size: 0.8rem!important;
    padding: 5px !important;
  }
  .mb-3 {
    margin-bottom: 2rem !important;
  }
  .table-responsive table tr th{
    font-size: 12px;
    padding: 3px;
    }
    .table-responsive table tr td{
      font-size: 12px;
      padding: 3px;
      }
  
}