* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

}

body {
  /* line-height: 1.5; */
  height: 100vh;
}

.panal {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}

.panal-div {
  width: 100%;
  display: flex;
  position: relative;
}

.shape {
  position: absolute;
  z-index: -1;
}

.top-shape {
  top: 0px;
  right: 0px;
  width: 300px;
  height: 300px;
  background-color: #FFCC00;
  border-radius: 0 0 0 100%;
}

.bottom-shape {
  bottom: 0px;
  left: 0px;
  width: 300px;
  height: 300px;
  background-color: #D90707;
  border-radius: 0 100% 0 0;
}

.login-div {
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  margin: 0px auto;
  overflow: hidden;
}

.container {
  display: flex;
  width: 60%;
  min-height: 85vh;
  margin: 0px auto;
  margin-top: 40px;
  background-color: #fff;
  border: 1px solid #c6c6c6;
  border-radius: 25px;
  box-shadow: 1px 4px 5px #c574f7;
  position: relative;
  overflow: hidden;
}

.log-container {
  background: #fff;
  position: relative;
  width: 60%;
  max-width: 100%;
  min-height: 480px;
  display: flex;
  margin: 0px auto;
  margin-top: 40px;
  border: 1px solid #c6c6c6;
  border-radius: 25px;
  box-shadow: 1px 4px 5px #c574f7;
  overflow: hidden;
}

.login-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-content {
  max-width: 400px;
  width: 100%;
}

.logo-container {
  text-align: center;
  margin-bottom: 2rem;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  animation: float 6s ease-in-out infinite;
}

.login-content h1 {
  color: #9333EA;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #9d00ff;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #9d00ff;
  border-radius: 0rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #9333EA;
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);
}

.btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 0rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #9333EA;
  color: white;
  margin-bottom: 1rem;
}

.btn-primary:hover {
  background-color: #7E22CE;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  width: 150px;
  margin-top: 20px;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.login-links-div {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.forgot-password {
  display: block;
  text-align: center;
  color: #9333EA;
  text-decoration: none;
  font-weight: 500;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* ----------------------------------
  ------------ signup page ------------
  ------------------------------------- */
.sign-up-section {
  border-radius: 0px;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}

.signup-link {
  width: 100%;
  min-height: 80px;
  height: auto;
  border: 1px solid #9d00ff;
  display: flex;
}

.signup-link a {
  display: flex;
  text-decoration: none;
  width: 100%;
  height: auto;
  align-items: stretch;
}

.signup-link-img {
  width: 40%;
  display: flex;
}

.signup-link-text {
  width: 60%;
  padding: 3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-sapce {
  margin-bottom: 4px;
}

.signup-link-text p {
  font-size: 10px;
  line-height: 1.2;
  margin-bottom: 0;
}

.signup-link-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}




@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}


/* ------------------------------------------------
  ------------------SIGNUP FORMS----------------------
  --------------------------------------------------- */
.signup-top-shape {
  top: 0px;
  right: 0px;
  width: 300px;
  height: 300px;
  background-color: #FFCC00;
  border-radius: 0 0 0 100%;
}

.signup-bottom-shape {
  bottom: 0px;
  left: 0px;
  width: 300px;
  height: 300px;
  background-color: #D90707;
  border-radius: 0 100% 0 0;
}

.signup-div {
  width: 100%;
  justify-content: center;
  align-items: center;
  margin: 0px auto;
}

.signup-container {
  display: block;
  width: 80%;
  min-height: 70vh;
  box-shadow: 1px 4px 5px #c574f7;
  margin: 0px auto;
  /* margin-top: 8px; */
  padding: 25px;
  position: relative;
  top: 10px;
  z-index: 100;
}

.logo-text-div {
  display: flex;
}

.logo-text-div h2 {
  margin: 0px auto;
  text-align: center;
  color: #9333EA;
  font-size: 2.0em;
  margin-top: 0;
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.signup-logo {
  width: 60px;
  height: 60px;
}
.d-h-a-signup{
  display: none;
}
.signup-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 22px;
  margin-top: 20px;
}

.signup-form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 1em;
  color: #7a00c2;
  margin-bottom: 4px;
  font-weight: 600;
}

input,
select {
  padding: 9px 12px;
  border: 2px solid #a000ff;
  border-radius: 5px;
  font-size: 1em;
  outline: none;
  color: #646464;
  background: #fff;
  transition: border 0.2s;
  box-shadow: 0px 0px 3px #a000ff;
}

input::placeholder {
  font-size: 12px;
}

select {
  font-size: 12px;
}

input:focus,
select:focus {
  border: 2px solid #7a00c2;
}

.actions {
  grid-column: 3/4;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: 10px;
}

.actions button {
  background: #a000ff;
  color: #fff;
  border: none;
  padding: 13px 45px;
  border-radius: 4px;
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 2px 8px #eee;
  transition: background 0.2s;
}

.actions button:hover {
  background: #7a00c2;
}

.signin-link {
  grid-column: 1/2;
  align-self: end;
  color: #a000ff;
  font-size: 1.08em;
  margin-top: 10px;
}

.signin-link a {
  color: #a000ff;
  text-decoration: underline;
  font-weight: 500;
}


/* ------------------------------------
  ----------- politician signup ---------
  ---------------------------------------*/

.inline-row {
  display: flex;
  gap: 8px;
}

.inline-row .form-group {
  flex: 1 1 0;
  margin-bottom: 0;
}

.pol-city,
.pol-state {
  width: 50%;
}

/* ------------------------------------------
--------------- forget password -------------
--------------------------------------------- */


.forget-container {
  width: 30%;
  margin-top: 100px;
}

.reset-container {
  width: 30%;
  margin-top: 55px;
}



/* ===================================
  ==============Responsive =============
  ====================================== */
@media (max-width: 900px) {
  .signup-container {
    max-width: 98%;
    padding: 20px 5vw 20px 5vw;
    top: 10px;

  }

  .signup-top-shape,
  .signup-bottom-shape {
    width: 200px;
    height: 200px;
  }

  .signup-bottom-shape {
    bottom: -30%;
  }

  .bottom-shape {
    bottom: 0%;
  }

  .signup-form {
    display: block;
  }

  .actions {
    grid-column: 2/3;
  }

  .signin-link {
    grid-column: 1/2;
  }

  /*--------------- forget password -------------*/


  .forget-container {
    width: 75%;
    margin-top: 50px;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column-reverse;
    width: 96%;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .overlay-container{
    display: none;
  }
  .d-h-a-signup{
    display: block;
  }
  .login-content {
    max-width: 90%;
    width: 100vw;
    
  }
  .login-section{
    width: 100%;
  }

  .log-div1 {
    display: flex;
  }
  .log-div2 {
    display: none;
  }
 
  .top-shape,
  .bottom-shape {
    width: 200px;
    height: 200px;
  }
}


@media (max-width: 600px) {
  /* .signup-container {
      max-width: 99vw;
      padding: 20px 5vw 20px 5vw;
    } */

  .signup-form {
    display: block;
  }

  .actions,
  .signin-link {
    grid-column: 1/2;
    justify-content: center;
    text-align: center;
  }

  /*--------------- forget password -------------*/


  .forget-container {
    width: 96%;
    margin-top: 50px;
  }
}

@media (max-height: 600px) {
  .login-div,
  .panal {
    height: auto;
    min-height: 100%;
    overflow-y: auto;
  }

  .container {
    min-height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    height: auto;
    overflow: visible;
  }

  .log-container {
    height: auto;
    min-height: auto;
    overflow: visible;
  }
}