/* Global Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#loginWithGoogleButtonFormobile{
  display: none;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f0f2f5;
  color: #333;
  min-height: 100vh;
}

button, input {
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/* AUTH WRAPPER */
#auth {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
}

.auth-container {
  width: 100%;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  overflow-y: auto;
  height: 100%;
}
.auth-container::-webkit-scrollbar{
  display: none;
}
/* HEADER */
.login-header {
  padding: 20px 30px;
  background:var(--aliceblue);
  border-bottom: 1px solid #eee;
  text-align: center;
}

.header-wrap svg {
  max-width: 280px;
  height: auto;
}

/* FORM BOX */
.form-box {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 520px;
}

.container {
  display: flex;
  flex-direction: row;
  flex: 1;
}

.Leftsidecontaine {
  flex: 1;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  min-height: 300px;
}

.Leftsidecontaine img {
  width: 100%;
  max-width: 240px;
}

.rightsidecontaine {
  flex: 1.3;
  padding: 30px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
}

/* HEADINGS */
.heading1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.title-text {
  color: #333;
}

.icon-small {
  color: #007bff;
  font-size: 20px;
}

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

.field-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.field-icon {
  position: absolute;
  left: 10px;
  font-size: 16px;
  color: #888;
}

.field-input {
  width: 100%;
  padding: 12px 12px 12px 36px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: 0.3s;
}

.field-input:focus {
  border-color: #007bff;
}

/* PHONE INPUT */
.phone-wrap {
  display: flex;
  align-items: center;
  width: 100%;
}

.code-prefix {
  background: #f0f0f0;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px 0 0 8px;
  font-size: 14px;
  color: #555;
  height: 100%;
}

.phone-wrap input {
  border-radius: 0 8px 8px 0;
  border-left: none;
  flex: 1;
  padding-left: 12px;
}

/* BUTTONS */
.btn-primary {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-link  , #forgotPasswordButton{
  background: none;
  border: none;
  color: #007bff;
  font-size: 14px;
  margin-top: 10px;
  text-decoration: underline;
  cursor: pointer;
}

.text-highlight {
  font-weight: 600;
  color: #0056b3;
}

#forgotPasswordButton{
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  align-self: end;
  float: right;
  
}
/* GOOGLE BUTTON */
.btn-google {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
}

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

.separator {
  text-align: center;
  font-size: 13px;
  margin: 15px 0;
  color: #888;
}

/* TOGGLE PASSWORD */
.btn-toggle {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: #888;
  font-size: 16px;
}

/* MESSAGE BOX */
.message-box {
  text-align: center;
  font-size: 14px;
  color: red;
  margin-top: 15px;
}

/* REGISTER2 SPECIFIC */
#Register2 {
  flex-direction: column;
  gap: 15px;
  animation: slideLeft 0.4s ease forwards;
  margin-top: 10px;
}

/* MODAL */
.modal-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  gap: 10px;
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

/* FOOTER */
.footer {
  padding: 30px 20px;
  background-color: var(--aliceblue);
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-links a {
  color: #007bff;
}

.footer-copy {
  font-size: 13px;
  color: #999;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .Leftsidecontaine {
    display: none;
  }
  .rightsidecontaine {
    padding: 20px;
  }
  .btn-google {
    flex-direction: row;
    gap: 5px;
  }
}

/* Custom Animations */
@keyframes slideLeft {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.to-left {
  animation: slideLeft 0.4s ease forwards;
}
/* Welcome Section Styles */

#welcomeSection {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  background: linear-gradient(135deg, #e9efff, #ffffff);
  padding: 20px;
  box-sizing: border-box;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000000000;
}

.mainwel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-color: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  width: 100%;
}

.mainwel h1 {
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
}

.mainwel p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.term {
  width: 100%;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ddd;
  max-height: 300px;
  overflow-y: auto;
}

.term p,
.term li {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 10px;
}

.term ol {
  padding-left: 20px;
}

#acceptTermsButton {
  margin-top: 25px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#acceptTermsButton:hover {
  background-color: #0056b3;
}

@media screen and (max-width: 768px) {
  .mainwel {
    padding: 25px;
  }

  .mainwel h1 {
    font-size: 26px;
  }

  .mainwel p,
  .term p,
  .term li {
    font-size: 14px;
  }

  #acceptTermsButton {
    width: 100%;
    text-align: center;
  }
}