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

body {
  background: #f5f6fa;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mobile Header Logo (hidden on desktop) */
.mobile-header {
  display: none;
  text-align: center;
  padding: 20px 0;
  width: 100%;
}

.mobile-logo {
  max-width: 200px;
  height: auto;
}

.container {
  display: flex;
  width: 1000px;
  height: 600px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.left-panel {
  width: 50%;
  background: #dcdcdc;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  max-width: 200px;
}

.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Hide Font Awesome icons on mobile by default */
.fas {
  display: none;
}

.right-panel {
  width: 60%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h2 {
  color: #0b3b71;
  margin-top: 20px;
  text-align: center;
  font-size: 20px;
  font-weight: 750;
  font-family: Arial, Helvetica, sans-serif;
}

.subtitle {
  margin-bottom: 30px;
  color: #777;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
}

.circle {
  width: 55px;
  height: 55px;
  background-color: #f8fafa;
  border-radius: 100px;
  margin-left: 0px;
  margin-top: -7px;
  z-index: 3;
  position: absolute;
  box-shadow: 0px 0px 10px #4EC0B2;

  border: none;
}

.contact {
  align-items: center;
  margin-left: 14px;
  margin-top: 15px;
  width: 27px;
  height: auto;
}

.lock {
  align-items: center;
  margin-left: 15px;
  margin-top: 14px;
  width: 25px;
  height: auto;

}

.input-group {
  position: relative;
  margin-bottom: 20px;
  width: 70%;
  margin-left: 15%;

}

.input-group i {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #2a506f;


}

.input-group input {
  width: 100%;
  padding: 12px 12px 12px 50px;
  border: none;
  border-radius: 30px;
  outline: none;
  transition: 0.3s;
  background-color: #f8fafa;
  box-shadow: 0 2px 5px rgba(41, 199, 210, 0.5);
  margin-bottom: 10px;
  margin-left: 20px;


}

.input-group text {
  margin-left: 45px;
}

.input-group input:focus {
  border-color: #2a506f;
  box-shadow: 0 0 6px #509ede33;


}


.sign-in-btn {
  width: 23%;
  margin: 0px !important;
  padding: 6px;
  background-color: #2a506f;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  margin-left: 50% !important;
  transform: translateX(-50%);
  box-shadow: 0 2px 5px rgba(41, 199, 210, 0.5);

}

.sign-in-btn:hover {
  background-color: #1c3a52;
}

.divider {
  text-align: center;
  margin: 25px 0;
  color: #aaa;
  position: relative;
}

.divider span {
  background: #fff;
  padding: 0 10px;
  position: relative;
  z-index: 1;
  font-size: small;
}

.divider::before {
  content: "";
  position: absolute;
  width: 60%;
  height: 1px;
  background: #ddd;
  top: 50%;
  left: 95px;
  z-index: 0;
}

.google-btn {
  width: 20%;
  height: 10%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  margin-left: 50% !important;
  transform: translateX(-50%);
  box-shadow: 0 2px 5px rgba(41, 199, 210, 0.5);



}

a {
  font-size: 20px;
  margin-left: 14px;
  font-size: small;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;


}

.google-btn img {
  width: 15px;
  height: 15px;
  margin-right: 40px;
  position: absolute;

}

.google-btn:hover {
  background: #f1f1f1;
}

.signup-text {
  text-align: center;
  margin-top: 20px;
  color: #555;
}

.signup-text a {
  color: #193043;
  text-decoration: none;
  font-weight: 500;
}

/* Add to your CSS file */
.visually-hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}




@media (max-width: 1024px) {
  .container {
    width: 95vw;
    height: auto;
    min-height: 95vh;
  }
  
  .right-panel {
    padding: 35px;
  }
  
  .input-group {
    width: 85%;
    margin-left: 7.5%;
  }
  
  .sign-in-btn {
    width: 40%;
    margin-left: 30%;
  }
  
  .google-btn {
    width: 35%;
    margin-left: 32.5%;
  }
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .left-panel {
    width: 100%;
    height: 35vh;
    min-height: 200px;
    border-radius: 0;
    background: linear-gradient(135deg, #dcdcdc 0%, #e8e8e8 100%);
  }
  
  .right-panel {
    width: 100%;
    height: 65vh;
    padding: 30px 25px;
    border-radius: 0;
    overflow-y: auto;
  }

  .logo {
    max-width: 150px;
    transition: all 0.3s ease;
  }

  h2 {
    font-size: 22px;
    margin-top: 15px;
    margin-bottom: 5px;
  }

  .subtitle {
    font-size: 12px;
    margin-bottom: 25px;
  }

  .input-group {
    width: 100%;
    margin-left: 0;
    margin-bottom: 25px;
  }

  .circle {
    width: 50px;
    height: 50px;
    margin-top: -5px;
  }

  .contact {
    margin-left: 12px;
    margin-top: 13px;
    width: 26px;
  }

  .lock {
    margin-left: 13px;
    margin-top: 12px;
    width: 24px;
  }

  .input-group input {
    padding: 15px 15px 15px 60px;
    font-size: 16px;
    margin-left: 10px;
    width: calc(100% - 10px);
  }

  .sign-in-btn {
    width: 60%;
    margin-left: 20%;
    padding: 12px;
    font-size: 16px;
    margin-top: 15px;
  }

  .google-btn {
    width: 50%;
    margin-left: 25%;
    padding: 12px;
    height: auto;
  }

  .divider::before {
    left: 10%;
    width: 80%;
  }

  .signup-text {
    font-size: 14px;
    margin-top: 25px;
  }
}

@media (max-width: 600px) {
  /* Show mobile header logo and hide desktop left panel */
  .mobile-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #f5f6fa;
    padding: 20px 0;
    text-align: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .mobile-logo {
    max-width: 180px;
    height: auto;
  }

  .container {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
    flex-direction: column;
    background: #f5f6fa;
  }

  .left-panel {
    display: none;
  }
  
  .right-panel {
    width: 100%;
    height: 100vh;
    padding: 0 20px;
    justify-content: center;
    align-items: center;
    background: #f5f6fa;
    padding-top: 120px; /* Space for fixed header */
  }

  .logo {
    max-width: 130px;
  }

  h2 {
    font-size: 28px;
    margin: 30px 0 10px 0;
    text-align: center;
    color: #0b3b71;
  }

  .subtitle {
    font-size: 16px;
    margin-bottom: 40px;
    text-align: center;
    color: #666;
  }

  /* Center form content */
  form {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Fix input styling for mobile */
  .input-group {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
  }

  .input-group input {
    width: 100%;
    height: 55px;
    padding: 15px 20px 15px 65px;
    border: 2px solid #e1e8ed;
    border-radius: 28px;
    font-size: 16px;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .input-group input:focus {
    border-color: #4EC0B2;
    box-shadow: 0 0 0 3px rgba(78, 192, 178, 0.1);
    outline: none;
    transform: translateY(-2px);
  }

  .circle {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(78, 192, 178, 0.3);
  }

  .contact, .lock {
    width: 20px;
    height: auto;
  }

  /* Center buttons */
  .sign-in-btn {
    width: 60%;
    height: 50px;
    margin: 15px 0 25px 0;
    font-size: 18px;
    font-weight: 600;
    border-radius: 25px;
    background: #0b3b71;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(11, 59, 113, 0.3);
  }

  .sign-in-btn:hover {
    background: #094066;
    transform: translateY(-2px);
  }

  .divider {
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .divider::before,
  .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
  }

  .divider span {
    padding: 0 15px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
  }

  .google-btn {
    width: 55%;
    height: 50px;
    margin: 0 0 30px 0;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    background: white;
    border: 2px solid #e1e8ed;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  a{
    margin-left: 0px;
  }

  .google-btn:hover {
    border-color: #4EC0B2;
    transform: translateY(-2px);
  }

  .google-btn img {
    width: 20px;
    height: 20px;
  }

  .signup-text {
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
    color: #666;
  }

  .signup-text a {
    color: #0b3b71;
    text-decoration: none;
    font-weight: 600;
  }

  .circle {
    width: 75px;
    height: 75px;
  }

  .contact {
    margin-left: 2px;
    margin-top: 4px;
    width: 25px;
  }

  .lock {
    margin-left: 0px;
    margin-top: 0px;
    width: 23px;
  }

  .input-group {
    margin-bottom: 20px;
  }

  .input-group input {
    padding: 12px 12px 12px 55px;
    font-size: 16px;
    margin-left: 5px;
    width: calc(100% - 5px);
  }

  .sign-in-btn {
    margin: 0% !important;
    transform: translateX(0%);
    width: 70%;
    padding: 14px;
    font-size: 16px;
  }

  .google-btn {
    margin: 0% !important;
    transform: translateX(0%);
    width: 60%;
    margin-left: 20%;
    padding: 12px;
  }

  .google-btn img {
    width: 18px;
    height: 18px;
    margin-right: 0px;
    margin-left: 0px;
    position: relative;
  }

  .divider::before {
    left: 5%;
    width: 90%;
  }

  .signup-text {
    font-size: 13px;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .mobile-header {
    display: block;
    padding: 15px 0;
  }

  .mobile-logo {
    max-width: 160px;
  }

  .left-panel {
    display: none;
  }
  
  .right-panel {
    width: 100%;
    height: 100vh;
    padding: 0 15px;
    padding-top: 110px;
    justify-content: center;
  }

  h2 {
    font-size: 24px;
    margin: 20px 0 8px 0;
    text-align: center;
  }

  .subtitle {
    font-size: 14px;
    margin-bottom: 35px;
    text-align: center;
  }

  form {
    max-width: 320px;
  }

  .input-group input {
    height: 50px;
    padding: 12px 15px 12px 55px;
    font-size: 15px;
  }

  .circle {
    width: 60px;
    height: 60px;
    left:-12px;
    top: 28px;
  }

  .sign-in-btn {
    width: 65%;
    height: 48px;
    margin: 12px 0 20px 0;
    font-size: 16px;
  }

  .google-btn {
    width: 60%;
    height: 48px;
    margin: 0 0 25px 0;
    font-size: 15px;
  }

  .google-btn img {
    width: 18px;
    height: 18px;
  }

  .divider span {
    font-size: 13px;
  }

  .signup-text {
    font-size: 13px;
    margin-top: 15px;
  }
}

/* Extra Small Mobile Styles */
@media (max-width: 360px) {
  .mobile-header {
    display: block;
    padding: 12px 0;
  }

  .mobile-logo {
    max-width: 140px;
  }

  .left-panel {
    display: none;
  }
  
  .right-panel {
    width: 100%;
    height: 100vh;
    padding: 0 12px;
    padding-top: 100px;
    justify-content: center;
  }

  h2 {
    font-size: 22px;
    margin: 15px 0 5px 0;
  }

  .subtitle {
    font-size: 13px;
    margin-bottom: 30px;
  }

  form {
    max-width: 300px;
  }

  .input-group {
    margin-bottom: 20px;
  }

  .input-group input {
    height: 48px;
    padding: 10px 12px 10px 50px;
    font-size: 14px;
  }

  .circle {
    width: 32px;
    height: 32px;
    left: 7px;
  }

  .contact, .lock {
    width: 16px;
  }

  .sign-in-btn {
    width: 70%;
    height: 45px;
    margin: 10px 0 18px 0;
    font-size: 15px;
  }

  .google-btn {
    width: 65%;
    height: 45px;
    margin: 0 0 20px 0;
    font-size: 14px;
  }

  .google-btn img {
    width: 16px;
    height: 16px;
  }

  .divider {
    margin: 15px 0;
  }

  .divider span {
    font-size: 12px;
    padding: 0 12px;
  }

  .signup-text {
    font-size: 12px;
    margin-top: 12px;
  }
}

  h2 {
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 3px;
  }

  .subtitle {
    font-size: 9px;
    margin-bottom: 15px;
  }


  .input-group {
    margin-bottom: 18px;
  }

  .input-group input {
    padding: 10px 8px 10px 48px;
    font-size: 16px;
  }

  .sign-in-btn {
    padding: 14px;
    font-size: 15px;
  }

  .google-btn {
    padding: 10px;
    font-size: 14px;
  }

  .google-btn img {
    width: 16px;
    height: 16px;
  }

  .signup-text {
    font-size: 12px;
    margin-top: 12px;
  }