/* Login Section Styles */
.login-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.login-container {
  max-width: 450px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-header h2 {
  font-size: 28px;
  font-weight: 400;
  color: #000;
  margin-bottom: 8px;
}

.login-header p {
  color: #666;
  font-size: 16px;
  margin: 0;
}

.login-form {
  width: 100%;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  background-color: #fff;
}

.form-group input:focus {
  outline: none;
  border-color: #7F745B;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.remember-me {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #666;
}

.remember-me input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  margin-right: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.remember-me input[type="checkbox"]:checked + .checkmark {
  background-color: #7F745B;
  border-color: #7F745B;
}

.remember-me input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.forgot-password {
  color: #7F745B;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: #6a6249;
  text-decoration: underline;
}

.login-submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #7F745B;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

.login-submit-btn:hover {
  background-color: #6a6249;
}

.divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #e0e0e0;
}

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

.google-login-btn {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  background-color: white;
  color: #333;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}

.google-login-btn:hover {
  border-color: #ccc;
  background-color: #f9f9f9;
}

.signup-link {
  text-align: center;
  margin-top: 20px;
}

.signup-link p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

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

.signup-link a:hover {
  text-decoration: underline;
}

/* Register Section Styles */
.register-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.register-container {
  max-width: 550px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.register-header {
  text-align: center;
  margin-bottom: 30px;
}

.register-header h2 {
  font-size: 28px;
  font-weight: 400;
  color: #000;
  margin-bottom: 8px;
}

.register-header p {
  color: #666;
  font-size: 16px;
  margin: 0;
}

.registration-options {
  width: 100%;
}

.option-tabs {
  display: flex;
  margin-bottom: 25px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #e0e0e0;
}

.option-tab {
  flex: 1;
  padding: 12px 20px;
  background-color: #f8f9fa;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  transition: all 0.3s ease;
}

.option-tab.active {
  background-color: #7F745B;
  color: white;
}

.option-tab:hover:not(.active) {
  background-color: #e9ecef;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.register-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.terms-checkbox input[type="checkbox"] {
  display: none;
}

.terms-checkbox .checkmark {
  margin-top: 2px;
  flex-shrink: 0;
}

.terms-checkbox a {
  color: #7F745B;
  text-decoration: none;
}

.terms-checkbox a:hover {
  text-decoration: underline;
}

.register-submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #7F745B;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

.register-submit-btn:hover {
  background-color: #6a6249;
}

.google-register-btn {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  background-color: white;
  color: #333;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}

.google-register-btn:hover {
  border-color: #ccc;
  background-color: #f9f9f9;
}

.login-link {
  text-align: center;
  margin-top: 20px;
}

.login-link p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.login-link a {
  color: #7F745B;
  text-decoration: none;
  font-weight: 500;
}

.login-link a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .login-section,
  .register-section {
    padding: 40px 0;
  }
  
  .login-container,
  .register-container {
    margin: 0 20px;
    padding: 30px 25px;
  }
  
  .login-header h2,
  .register-header h2 {
    font-size: 24px;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .option-tab {
    padding: 10px 15px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .login-container,
  .register-container {
    margin: 0 15px;
    padding: 25px 20px;
  }
  
  .login-header h2,
  .register-header h2 {
    font-size: 22px;
  }
  
  .login-header p,
  .register-header p {
    font-size: 14px;
  }
  
  .form-group input {
    padding: 10px 14px;
    font-size: 14px;
  }
  
  .login-submit-btn,
  .register-submit-btn,
  .google-login-btn,
  .google-register-btn {
    padding: 12px;
    font-size: 14px;
  }
  
  .option-tab {
    padding: 8px 12px;
    font-size: 12px;
    gap: 6px;
  }
  
  .terms-checkbox {
    font-size: 13px;
  }
}