:root {
  --text: #2f3c54;
  --blueIcons: #1c46ff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  display: flex;
  position: relative;
}

.switchlang {
    position: absolute;
    display: inline-block;
    margin: 0 5px;
    top: 10px;
    right: 10px;
  }
  
  .switchlang > span {
    position: absolute;
    top: 10px;
    pointer-events: none;
    font-family: "Helvetica", Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    text-transform: capitalize;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    width: 50%;
    text-align: center;
    top: 8.5px;
  }
  
  .switchlang  input.check-toggle-round-flat:checked ~ .off {
    color: #000;
  }
  
  .switchlang   input.check-toggle-round-flat:checked ~ .on {
    color: #fff;
    left: 1px;
  }
  
  .switchlang > span.on {
    left: 2px;
    padding-left: 2px;
    color: #000;
  }
  
  .switchlang > span.off {
    right: 0;
    padding-right: 4px;
    color: #fff;
  }
  
  .switchlang  .check-toggle {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
  }
  .switchlang   .check-toggle + label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  .switchlang    input.check-toggle-round-flat + label {
    padding: 0px;
    width: 60px;
    height: 32px;
    /* background: linear-gradient(270.02deg, #2af598 0.02%, #009efd 99.99%);
     */
    background: var(--blueIcons);
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
  }
  .switchlang   input.check-toggle-round-flat + label:before,
  .switchlang   input.check-toggle-round-flat + label:after {
    display: block;
    position: absolute;
    content: "";
  }
  
  .switchlang   input.check-toggle-round-flat + label:before {
    top: 2px;
    left: 2px;
    bottom: 2px;
    right: 2px;
    /* background: linear-gradient(270.02deg, #2af598 0.02%, #009efd 99.99%); */
    background: var(--blueIcons);
    border-radius: 60px;
  }
  .switchlang   input.check-toggle-round-flat + label:after {
    top: 4px;
    left: 4px;
    bottom: 4px;
    width: 28px;
    background-color: #fff;
    border-radius: 52px;
    transition: margin 0.2s;
  }
  
  .switchlang   input.check-toggle-round-flat:checked + label:after {
    margin-left: 25px;
  }
  

.sidebar {
  display: flex;
  flex-direction: column;
  background: #f7f8fa;
  padding: 4px 20px 0;
  max-width: 450px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar .logo {
    margin: 25px;
    max-width: 90%;
    height: 154px;

}

.sidebar .description {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.sidebar .features {
  margin-top: 32px;
  list-style: none;
  padding: 0;
}

.sidebar .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.sidebar .icon {
  font-size: 18px;
  color: #aa8e51;
}

.sidebar .feature-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.sidebar .feature-description {
  font-size: 14px;
  color: var(--text);
}

.sidebar .man-image-container {
  margin-top: auto;
  position: relative;
  height: 298px;
  display:none;
}

.sidebar .circle {
  position: absolute;
  top: 38%;
  left: 48%;
  transform: translate(-50%, -50%);
  width: 172px;
  height: 172px;
  background: linear-gradient(180.02deg, #2af598 20.02%, #009efd 99.99%);
  border-radius: 50%;
}

.sidebar .man-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 320px;
  height: auto;
}
@media (max-width: 970px) {
  .sidebar {
    display: none;
  }
}

@media (max-width: 1280px) {
  .sidebar p.text-large {
    font-size: 16px;
  }

  .sidebar h3.title {
    font-size: 16px;
  }

  .circular-background {
    width: 170px;
    height: 170px;
    top: 24%;
  }

  .sidebar img.man {
    max-width: 300px;
  }
}

@media (max-width: 1024px) {
  .sidebar h3.title {
    font-size: 20px;
  }
}

.loginSection {
  flex: 1;
  color: #1f2937;
}

.loginSection .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  margin: auto;
  min-height: 100vh;
}

.loginSection .logo {
  display: flex;
  align-items: center;
  justify-content: center;
 /* margin-bottom: 1rem;*/
}

.loginSection .logo-img {
  max-width: 150px;
  height: auto;
}

.loginSection .card {
  width: 100%;
  background-color: #ffffff;
  border-radius: 0.9rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  max-width: 32rem;
}

.loginSection .card-content {
  padding: 1.5rem;
}

.loginSection .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  color: #546881;
  margin: auto;
  text-align: center;
  text-transform: capitalize;
}

.loginSection .form {
  display: grid;
  gap: 1.5rem;
}

.loginSection .label {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
}

.loginSection .input {
  width: 100%;
  padding: 0.625rem;
  font-size: 0.875rem;
  color: black;
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  outline: none;
  font-weight: 500;
}

.loginSection .input:focus {
  background: linear-gradient(180.02deg, #2af59a13 20.02%, #009cfd14 99.99%);
  border: 1px solid var(--blueIcons);
}

.loginSection .form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.loginSection .checkbox-group {
  display: flex;
  align-items: center;
}

.loginSection .checkbox {
  width: 1rem;
  height: 1rem;
  margin-inline-end: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  background-color: #f9fafb;
}

.loginSection .checkbox-label {
  font-size: 0.875rem;
  color: #6b7280;
}

.loginSection .forgot-password {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blueIcons);
  text-decoration: underline;
}

.loginSection .submit-button {
  width: 100%;
  padding: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  color: #ffffff;
  background-color: #aa8e51;
  border-radius: 0.5rem;
  border: none;
}

.loginSection .submit-button:hover {
  background-color: #aa8e51;
}

.loginSection .signup-link {
  font-size: 0.875rem;
  color: #6b7280;
}

.loginSection .signup {
  font-weight: 500;
  color: var(--blueIcons);
  text-decoration: underline;
}

.loginSection .input-container {
  position: relative;
}

.loginSection .input-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #6b7280;
}

.loginSection .input {
  padding-inline-start: 35px;
}

.loginSection .toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6b7280;
}

.loginSection .form {
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  display: none;
}

.loginSection .form.active-form {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  height: auto;
  display: flex;
  flex-direction: column;
}

.loginSection .toggle-container {
  margin-bottom: 1rem;
  text-align: center;
}

.loginSection .toggle-container .switch {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  top: 0px;
}

.loginSection .toggle-container .switch > span {
  position: absolute;
  top: 10px;
  pointer-events: none;
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
  text-transform: capitalize;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  width: 50%;
  text-align: center;
  top: 12px;
}

.loginSection .toggle-container input.check-toggle-round-flat:checked ~ .off {
  color: white;
}

.loginSection .toggle-container input.check-toggle-round-flat:checked ~ .on {
  color: #47586e;
  left: 1px;
}

.loginSection .toggle-container .switch > span.on {
  left: 2px;
  padding-left: 2px;
  color: white;
}

.loginSection .toggle-container .switch > span.off {
  right: 0;
  padding-right: 4px;
  color: #47586e;
}

.loginSection .toggle-container .check-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.loginSection .toggle-container .check-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.loginSection .toggle-container input.check-toggle-round-flat + label {
  padding: 0px;
  width: 300px;
  height: 40px;
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 12px;
}
.loginSection .toggle-container input.check-toggle-round-flat + label:before,
.loginSection .toggle-container input.check-toggle-round-flat + label:after {
  display: block;
  position: absolute;
  content: "";
}

.loginSection .toggle-container input.check-toggle-round-flat + label:before {
  top: 2px;
  left: 2px;
  bottom: 2px;
  right: 2px;
  background: var(--blueIcons);
  background-color: #f9fafb;
  border-radius: 12px;
}
.loginSection .toggle-container input.check-toggle-round-flat + label:after {
  top: 2px;
  left: 4px;
  bottom: 4px;
  width: 50%;
  height: 88%;
  background: #aa8e51 !important;
  border-radius: 10px;
  transition: margin 0.2s;
}

.loginSection
  .toggle-container
  input.check-toggle-round-flat:checked
  + label:after {
  margin-left: 142px;
}
@media (max-width: 408px) {
  .loginSection .container {
    padding: 2rem 10px;

  }
  .loginSection .card-title {
    font-size: 1rem;
  }
  .loginSection .toggle-container input.check-toggle-round-flat + label {
    width: 250px;

  }
  .loginSection .toggle-container .switch > span {
    font-size: 10px;
    top: 14px;
  }
}
