:root {
  --primary-color: #6D44E5;
  --primary-hover: #6D44E5;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #heheaderadere5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --red-50: #fef2f2;
  --red-700: #b91c1c;
}

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

body {
  font-family: "DM Sans";
  min-height: 100vh;
  background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
  background: linear-gradient(252.41deg, #091B49 0%, #1641AF 104.44%), url(../images/left-background-img.png) left top 30px no-repeat, url(../images/right-background-img.png) right bottom 30px no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-blend-mode: color;
}

.container {
  width: 100%;
  max-width: 470px;
}

.card {
  background: white;
  border-radius: 15px;
  padding: 50px;
  /* box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); */
  box-shadow: 0px 0px 40px 0px #0000001A;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.header h1 {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 32px;
  letter-spacing: 0%;
  padding: 18px 0;
}

.icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary-color);
}

.icon-small {
  width: 1.25rem;
  height: 1.25rem;
}

.error-message {
  display: flex;
  align-items: center;
  background-color: var(--red-50);
  color: var(--red-700);
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.error-message .icon-small {
  margin-right: 0.5rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toggle-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.toggle-btn {
  flex: 1;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--gray-100);
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.2s;
}

.toggle-btn.active {
  background: var(--primary-color);
  color: white;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.input-group label {
  font-family: "DM Sans";
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0%;
  vertical-align: middle;
}

input[type="email"],
input[type="tel"],
input[type="text"] {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-size: 1rem;
  transition: all 0.2s;
  background: #F5F6FA;
  font-family: 'DM Sans';
}

.otp-container input[type="number"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #8F93A8;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.2s;
  background: #fff;
  font-family: 'DM Sans';
}

input[type="email"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0; /* Chrome, Safari, Edge */
}

input[type="number"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: none;
}

input[type="number"] {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s;
}

.otp-input {
  text-align: center;
  font-size: 1.5rem !important;
  letter-spacing: 0.25em;
}

.button {
  gap: 0.5rem;
  padding: 8px 0;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.button.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: white;
  font-family: "DM Sans";
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  vertical-align: middle;
}

.button.primary:hover {
  background: var(--primary-hover);
}

.button.secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-700);
}

.button.secondary:hover {
  background: var(--gray-200);
}
.button.link{
  color: #2563eb;
  background-color: white;
  text-decoration: underline;
  cursor: pointer;
}

.button.link:disabled{
  color: var(--gray-700);
  cursor:default;
  text-decoration: none;
}

.resend-section{
  text-align: left;
}
.consents-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.consent-item {
  padding: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.consent-item:hover {
  border-color: rgba(79, 70, 229, 0.2);
}

.consent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.consent-title {
  font-weight: 500;
  color: var(--gray-800);
}

.consent-description {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.switch {
  position: relative;
  display: inline-block;
  width: 2.75rem;
  height: 1.5rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-200);
  transition: .4s;
  border-radius: 1rem;
}

.slider:before {
  position: absolute;
  content: "";
  height: 1.25rem;
  width: 1.25rem;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(1.25rem);
  border-color: white;
}

.terms-container {
  margin-top: 1.5rem;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-text {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.checkbox-text a {
  color: var(--primary-color);
  text-decoration: none;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

.button-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button-group .button {
  flex: 1;
}

.hidden {
  display: none !important;
}

.easebuzz-logo-footer{
  width: 100%;
  max-width: 137px;
  text-align: center;
  margin: 0 auto;
  padding-top: 48px;
}


.para-text{
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #8F93A8;
}

.partner-logos{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.partner-logo{
  max-width: 80px;
  max-height: 80px;
}

 /* loader */

 .loader {
  border: 5px solid #b3b3b3;
  border-radius: 50%;
  border-top: 5px solid #8800ea;
  width: 35px;
  height: 35px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  position: absolute;
}

.loader2 {
  border: 5px solid #b3b3b3;
  border-radius: 50%;
  border-top: 5px solid #8800ea;
  width: 35px;
  height: 35px;
  -webkit-animation: spin2 2s linear infinite;
  animation: spin2 2s linear infinite;
  position: absolute;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

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


@-webkit-keyframes spin2 {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

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

/* loader end */


@media only screen and (max-width: 600px){

.header {
  margin-bottom: 15px;
}

.header h1 {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 26px;
  letter-spacing: 0%;
  padding: 9px 0;
}

.card {
  padding: 20px;  
}

.para-text {
  font-size: 14px;
  line-height: 16px;
}

.easebuzz-logo-footer{
  padding-top: 24px;
}

}