/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  min-height: 100vh;
  line-height: 1.6;
}

/* Header Styles */
.header {
  padding: 20px 40px;
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo svg {
  color: #333;
}

.logo-text {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  letter-spacing: -0.5px;
}

/* Main Container */
.main-container {
  display: flex;
  min-height: calc(100vh - 85px);
  justify-content: center;
}

/* Background Section (Desktop only) */
.background-section {
  flex: 1;
  background-image: url('https://media.istockphoto.com/id/2172317014/photo/happy-hispanic-man-working-on-laptop-at-home.jpg?s=612x612&w=0&k=20&c=9evc002hmjsuha6TiO8OftVTuZIE71Hr3qhmq8vRRH0=');
  background-size: cover;
  background-position: 50% center;
  background-repeat: no-repeat;
  position: relative;
  display: none;
}

.testimonial-overlay {
  position: absolute;
  bottom: 80px;
  left: 60px;
  right: 60px;
  color: white;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.quote-mark {
  font-family: 'Atomic Age', cursive;
  font-size: 96px;
  line-height: 1;
  max-width: 25%;
  text-align: right;
  flex-shrink: 0;
}

.testimonial-content {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
}

.testimonial-text {
  font-size: 18px;
  line-height: 27px;
  margin-bottom: 20px;
  font-weight: 400;
}

.testimonial-author {
  font-size: 18px;
  line-height: 27px;
  font-weight: 400;
}

/* Form Section */
.form-section {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  gap: 20px;
}

.form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 450px;
}

.form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.form-title {
  font-size: 32px;
  font-weight: 400;
  color: #333;
  margin: 0;
}

/* Form Styles */
.sign-in-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-label {
  font-size: 14px;
  font-weight: 400;
  color: #333;
  margin-bottom: 4px;
}

.form-input {
  height: 60px;
  padding: 0 12px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  transition: border-color 0.2s ease;
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: #40a9ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.form-input::placeholder {
  color: #bfbfbf;
}

/* Password Input Wrapper */
.password-input-wrapper {
  position: relative;
  width: 100%;
}

.password-input {
  padding-right: 45px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  opacity: 0.7;
}

/* Forgot Password Link */
.forgot-password {
  color: #40a9ff;
  text-decoration: none;
  font-size: 14px;
  margin-left: auto;
  width: fit-content;
  display: block;
  margin-bottom: 12px;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* Sign In Button */
.sign-in-button {
  width: 100%;
  height: 60px;
  background-color: rgba(63, 70, 89, 0.3);
  border: 1px solid rgba(63, 70, 89, 0.3);
  border-radius: 30px;
  color: rgba(63, 70, 89, 0.3);
  font-size: 16px;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  transition: all 0.2s ease;
}

.sign-in-button:not(:disabled) {
  background-color: #3f4659;
  border-color: #3f4659;
  color: white;
  cursor: pointer;
}

.sign-in-button:not(:disabled):hover {
  background-color: #2f3549;
  border-color: #2f3549;
}

/* Signup Link */
.signup-link {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: #333;
}

.signup-link a {
  color: #40a9ff;
  text-decoration: none;
}

.signup-link a:hover {
  text-decoration: underline;
}

/* Warning Card */
.warning-card {
  background-color: #e6faf5;
  border: 1px solid #c1f0e9;
  border-radius: 8px;
  padding: 15px;
  max-width: 630px;
  width: 100%;
  margin: 5px;
}

.warning-text {
  color: rgba(0, 0, 0, 0.45);
  font-size: 15px;
  line-height: 1.5;
}

.warning-text strong {
  color: rgba(0, 0, 0, 0.85);
}

.warning-text a {
  color: rgba(0, 0, 0, 0.45);
  text-decoration: underline;
}

.warning-text a:hover {
  color: rgba(0, 0, 0, 0.65);
}

/* Desktop Layout */
@media (min-width: 768px) {
  .main-container {
    flex-direction: row;
    height: calc(100vh - 85px);
  }

  .background-section {
    display: block;
    flex: 1;
    min-height: 100%;
  }

  .form-section {
    flex: 1;
    max-width: none;
    min-height: 100%;
  }

  .form-container {
    max-width: 450px;
  }

  .form-input,
  .sign-in-button {
    width: 450px;
  }

  .warning-card {
    max-width: 450px;
  }
}

/* Mobile Layout */
@media (max-width: 767px) {
  .header {
    padding: 15px 20px;
  }

  .logo-text {
    font-size: 24px;
  }

  .main-container {
    flex-direction: column;
    padding-top: 20px;
  }

  .background-section {
    display: none;
  }

  .form-section {
    padding: 20px 15px;
  }

  .form-container {
    max-width: 300px;
  }

  .form-title {
    font-size: 24px;
  }

  .form-input,
  .sign-in-button {
    width: 300px;
  }

  .warning-card {
    margin: 10px 5px;
    max-width: 300px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .form-container {
    max-width: 280px;
  }

  .form-input,
  .sign-in-button {
    width: 280px;
  }

  .warning-card {
    max-width: 280px;
  }

  .header {
    padding: 10px 15px;
  }
}
