/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8fafc;
}


/* Auth Pages */
.auth-main {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.auth-container {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.auth-card {
  background: white;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 30px;
}

.auth-header {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  padding: 40px 30px;
  text-align: center;
  color: white;
}

.auth-header h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.auth-header p {
  color: #bfdbfe;
}

.auth-form {
  padding: 40px 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
}

.input-wrapper {
  position: relative;
}

.input-wrapper i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.input-wrapper input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 2px solid #e5e7eb;
  border-radius: 15px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.input-wrapper input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.register-card {
  background: white;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.register-header {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  padding: 30px;
  text-align: center;
  color: white;
}

.register-header h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.register-header p {
  color: #bfdbfe;
}

.register-form {
  padding: 40px 30px;
}

.form-section {
  margin-bottom: 40px;
}

.form-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  color: #1e40af;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f3f4f6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e5e7eb;
  border-radius: 15px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Page Headers */

.btn-completion:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}
/* Responsive Design */
@media (max-width: 1024px) {
  .auth-container {
    max-width: 600px;
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .auth-main {
    padding: 20px 0;
    min-height: calc(100vh - 100px);
  }

  .auth-container {
    max-width: 100%;
    padding: 0 20px;
  }

  .auth-card,
  .register-card {
    border-radius: 15px;
    margin-bottom: 20px;
  }

  .auth-header,
  .register-header {
    padding: 30px 20px;
  }

  .auth-header h1,
  .register-header h1 {
    font-size: 1.8rem;
  }

  .auth-form,
  .register-form {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-section h2 {
    font-size: 1.2rem;
  }

  .input-wrapper input,
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 12px 12px 40px;
    font-size: 14px;
  }

  .form-options {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .auth-main {
    padding: 15px 0;
  }

  .auth-container {
    padding: 0 15px;
  }

  .auth-header,
  .register-header {
    padding: 25px 15px;
  }

  .auth-header h1,
  .register-header h1 {
    font-size: 1.6rem;
  }

  .auth-form,
  .register-form {
    padding: 20px 15px;
  }

  .form-section {
    margin-bottom: 30px;
  }

  .form-section h2 {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .input-wrapper input,
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 10px 10px 35px;
    font-size: 14px;
    border-radius: 10px;
  }

  .input-wrapper i {
    left: 12px;
    font-size: 14px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .btn-completion {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .auth-header h1,
  .register-header h1 {
    font-size: 1.4rem;
  }

  .auth-header,
  .register-header {
    padding: 20px 10px;
  }

  .auth-form,
  .register-form {
    padding: 20px 10px;
  }
}
