@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0 10px;
  background: #eaecec;
}

form {
  padding: 25px;
  margin-top: 50px; /* Add padding to the top */
  margin-bottom: 50px; 
  margin-left: 50px; 
  margin-right: 50px; 
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.login-form {
  padding: 25px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 10px;
  margin-right: 10px;
  max-width: 500px;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.register-form {
  padding: 25px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 10px;
  margin-right: 10px;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

form h2 {
  font-size: 27px;
  text-align: center;
  margin: 0px 0 30px;
}

form .form-group {
  margin-bottom: 15px;
  position: relative;
}

form label {
  display: block;
  font-size: 15px;
  margin-bottom: 7px;
}

form input,
form select {
  height: 45px;
  padding: 10px;
  width: 100%;
  font-size: 15px;
  outline: none;
  background: #fff;
  border-radius: 3px;
  border: 1px solid #bfbfbf;
}

form input[type="file"] {
  height: 45px;
  padding: 7px;
  width: 100%;
  font-size: 15px;
  outline: none;
  background: #fff;
  border-radius: 3px;
  border: 1px solid #bfbfbf;
}

form input:focus,
form select:focus {
  border-color: #9a9a9a;
}

form input.error,
form select.error {
  border-color: #f91919;
  background: #f9f0f1;
}

form small {
  font-size: 14px;
  margin-top: 5px;
  display: block;
  color: #f91919;
}

form .password i {
  position: absolute;
  right: 0px;
  height: 45px;
  top: 28px;
  font-size: 13px;
  line-height: 45px;
  width: 45px;
  cursor: pointer;
  color: #939393;
  text-align: center;
}

.submit-btn {
  margin-top: 10px;
}

.submit-btn input {
  color: white;
  border: none;
  height: auto;
  font-size: 16px;
  padding: 13px 0;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  background: #163663;
  transition: 0.2s ease;
}

.submit-btn input:hover {
  background: #163663;
}

/* Style for the "Send OTP" button */
#sendOtpButton {
  width: 100%; /* Make the button full width */
  background-color: #163663; /* Set the background color to blue */
  color: white; /* Set the text color to white */
  padding: 10px; /* Add some padding for better appearance */
  border: none; /* Remove border */
  border-radius: 5px;
  cursor: pointer; /* Change cursor to pointer on hover for better usability */
}

#sendOtpButton:hover {
  background-color: darkblue; /* Change the background color on hover */
}


.radio-options {
  display: flex;
  gap: 20px; /* Adjust the gap between radio buttons */
}

/* Style for individual radio buttons */
.radio-options label {
  display: flex;
  align-items: center;
}

/* Style for the actual radio input */
.radio-options input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; /* Adjust the width of the radio button */
  height: 20px; /* Adjust the height of the radio button */
  border: 2px solid #ccc;
  border-radius: 50%;
  margin-right: 5px; /* Adjust the spacing between the radio button and text */
  cursor: pointer;
  position: relative;
}

/* Style for the radio input when selected */
.radio-options input[type="radio"]:checked {
  border-color: #007bff; /* Change the border color when selected */
}

/* Style for the inner circle of the radio button */
.radio-options input[type="radio"]::before {
  content: '';
  position: absolute;
  width: 10px; /* Adjust the size of the inner circle */
  height: 10px; /* Adjust the size of the inner circle */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #007bff; /* Change the color of the inner circle */
  border-radius: 50%;
  display: none; /* Hide the inner circle by default */
}

/* Style for the inner circle of the radio button when selected */
.radio-options input[type="radio"]:checked::before {
  display: block; /* Show the inner circle when the radio button is selected */
}

.hidden {
  display: none;
}


/* ###### Accordion ###### */
/* ###### Alerts ###### */
.alert {
  border-width: 0;
  padding: 12px 15px;
  border-radius: 0;
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 3px;
}

.alert .close {
  text-shadow: none;
  opacity: 0.9;
}

.alert strong {
  font-weight: 600;
}

.alert-heading {
  color: inherit;
}

.alert-link {
  font-weight: 700;
}

.alert-dismissible {
  padding-right: 3.8125rem;
}

.alert-dismissible .close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.75rem 1.25rem;
  color: inherit;
}

.alert-primary {
  color: #1b3585;
  background-color: #d6e0ff;
  border-color: #c6d4ff;
}

.alert-primary hr {
  border-top-color: #adc1ff;
}

.alert-primary .alert-link {
  color: #12245b;
}

.alert-secondary {
  color: #f1388b;
  background-color: #f9e5db;
  border-color: #f9e5db;
}

.alert-secondary hr {
  border-top-color: #cacfdb;
}

.alert-secondary .alert-link {
  color: #f1388b;
}

.alert-success {
  color: #1f5c01;
  background-color: #d8efcc;
  border-color: #c8e9b8;
}

.alert-success hr {
  border-top-color: #b9e3a5;
}

.alert-success .alert-link {
  color: #0e2a00;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.alert-info hr {
  border-top-color: #abdde5;
}

.alert-info .alert-link {
  color: #062c33;
}

.alert-warning {
  color: #856404;
  background-color: #ffeeba;
  border-color: #ffeeba;
}

.alert-warning hr {
  border-top-color: #ffe8a1;
}

.alert-warning .alert-link {
  color: #533f03;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-danger hr {
  border-top-color: #f1b0b7;
}

.alert-danger .alert-link {
  color: #491217;
}

.alert-light {
  color: #7f7f81;
  background-color: #fdfdfe;
  border-color: #fcfcfd;
}

.alert-light hr {
  border-top-color: #ededf3;
}

.alert-light .alert-link {
  color: #666667;
}

.alert-dark {
  color: #1f2533;
  background-color: #d8dae0;
  border-color: #c8ccd3;
}

.alert-dark hr {
  border-top-color: #babfc8;
}

.alert-dark .alert-link {
  color: #0c0e13;
}

[class*=alert-outline-] {
  border: 1px solid transparent;
}

.alert-outline-success {
  border-color: #36c54d;
  color: #19b159;
}

.alert-outline-info {
  border-color: #1ab6cf;
  color: #01b8ff;
}

.alert-outline-warning {
  border-color: #ffdb6d;
  color: #d39e00;
}

.alert-outline-danger {
  border-color: #eb8c95;
  color: #f16d75;
}

[class*=alert-solid-] {
  border-width: 0;
  color: #ffffff;
}

.alert-solid-success {
  background-color: #19b159;
}

.alert-solid-info {
  background-color: #01b8ff;
}

.alert-solid-warning {
  background-color: #ff9b21;
}

.alert-solid-danger {
  background-color: #f16d75;
}

.alert-message {
  border: 1px solid rgba(232, 232, 247, 0.2);
  border-radius: 3px;
  background: var(--primary-bg-color);
}

.alert-default {
  border: 1px solid #f0f2f8;
}

.alert-message {
  border-color: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.12);
  padding: 1rem;
}

.alert-icons {
  height: 70px;
  width: 70px;
  fill: #ffffff;
}

/* ###### Alerts ###### */

/* Add your custom styles */
.form-group {
  margin-bottom: 20px;
}

.input-with-button {
  position: relative;
  display: flex;
  align-items: center;
}

#gst_no {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Adjust the button position */
#verify_gst {
  position: absolute;
  right: 5px;
}

#edit_gst {
  position: absolute;
  right: 5px;
}

/* Custom styles for the disabled "Verify" button */
.verify-button {
  padding: 8px 15px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.edit-button {
  padding: 8px 15px;
  background-color: #f1b009;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.verify-button.disabled {
  /* Styling for the disabled button */
  background-color: #ddd; /* Change the background color */
  color: #888; /* Change the text color */
  cursor: not-allowed; /* Change the cursor to indicate it's disabled */
}


/* Custom text classes for success and danger */
.text-success {
  color: green;
}

.text-danger {
  color: red;
}


/* Media query for mobile screens */
@media (max-width: 767px) {
  form {
    width: 100%;
  }
}

/* Media query for desktop screens */
@media (min-width: 768px) {
  form {
    width: 50%;
  }
}


/* Registration Link CSS styles */

.registration-link {
  text-align: center; /* Center the link horizontally */
  margin-top: 20px; /* Add some space between the form and the link */
}

.registration-link p {
  font-size: 14px;
  margin-bottom: 0; /* Remove bottom margin to avoid extra spacing */
}

.registration-link a {
  color: #163663;
  text-decoration: none;
  transition: color 0.2s ease;
}

.forgot-password-link a:hover {
  color: #0c1e38;
}

/* Registration Link CSS styles */

/* Forgot password link CSS styles */

.forgot-password-link {
  text-align: right; 
  margin-top: 5px; 
  margin-bottom: 5px; 
}

.forgot-password-link p {
  font-size: 14px;
  margin-bottom: 0; 
}

.forgot-password-link a {
  color: #163663;
  text-decoration: none;
  transition: color 0.2s ease;
}

.forgot-password-link a:hover {
  color: #0c1e38;
}

/* Forgot password link CSS styles */

.logo {
  margin: 0 auto; /* Center horizontally */
  max-width: 150px;
  margin-bottom: 20px;
}

.logo img {
  max-width: 100%;
  height: auto;
  width: 150px;
}

/* Hide the default checkbox */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #ccc;
  outline: none;
  cursor: pointer;
}

/* Style the checkbox when checked */
input[type="checkbox"]:checked {
  background-color: #058d05;
  border-color: #058d05;
}

/* Style the checkbox label */
.checkbox-label {
  display: inline-block;
  margin-left: 10px;
  margin-top: 10px;
  font-size: 16px;
  color: #333;
}

/* Style the checkbox container */
.checkbox-container {
  margin-bottom: 10px;
}

.checkbox-container input[type="checkbox"] {
  vertical-align: middle;
}

.checkbox-container label.checkbox-label {
  display: inline-block;
  vertical-align: middle;
}

/* Style for a disabled button */
#submitBtn:disabled {
  background-color: #ccc; /* Change the background color to gray */
  color: #888; /* Change the text color to a lighter shade */
  cursor: not-allowed; /* Change the cursor to indicate it's not clickable */
  /* You can add more styles as needed */
}

.required {
  color: red; /* Set the color to red for the asterisk */
  margin-left: 5px; /* Add some spacing between the label text and asterisk */
}

