/* Authentication Pages Styles */
.auth-container {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
  padding: var(--space-xl) 0;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 600px;
}

.auth-visual {
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: var(--space-xxl);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.auth-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hearts" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><text x="12.5" y="18" text-anchor="middle" fill="rgba(255,255,255,0.1)" font-size="14">♥</text></pattern></defs><rect width="100" height="100" fill="url(%23hearts)"/></svg>');
}

.auth-visual-content {
  position: relative;
  z-index: 1;
}

.auth-visual h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.auth-visual p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.auth-visual-icon {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 3rem;
  backdrop-filter: blur(10px);
}

.auth-form-container {
  padding: var(--space-xxl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-header {
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.auth-header h1 {
  font-size: 2rem;
  color: var(--dark-gray);
  margin-bottom: var(--space-sm);
}

.auth-header p {
  color: var(--gray);
  font-size: 1rem;
}

.auth-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-input.error {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.form-error {
  color: var(--accent);
  font-size: 0.875rem;
  margin-top: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.form-success {
  color: var(--primary-green);
  font-size: 0.875rem;
  margin-top: var(--space-xs);
}

/* Multi-step Form */
.form-steps {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.step:not(:last-child)::after {
  content: '';
  width: 40px;
  height: 2px;
  background: #E0E0E0;
  margin: 0 var(--space-md);
}

.step.active:not(:last-child)::after {
  background: var(--primary);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: #E0E0E0;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.step.active .step-number,
.step.completed .step-number {
  background: var(--primary);
  color: var(--white);
}

.step-label {
  font-size: 0.875rem;
  color: var(--gray);
  font-weight: 500;
}

.step.active .step-label {
  color: var(--primary);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

.step-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-xl);
  gap: var(--space-md);
}

.btn-prev {
  background: transparent;
  color: var(--gray);
  border: 2px solid #E0E0E0;
}

.btn-prev:hover {
  background: var(--light-gray);
  color: var(--dark-gray);
}

/* Checkbox and Radio Styles */
.checkbox-group,
.radio-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.custom-checkbox,
.custom-radio {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  line-height: 1.5;
}

.custom-checkbox input,
.custom-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark,
.radiomark {
  width: 20px;
  height: 20px;
  border: 2px solid #E0E0E0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
  margin-top: 2px;
}

.radiomark {
  border-radius: var(--radius-full);
}

.custom-checkbox:hover .checkmark,
.custom-radio:hover .radiomark {
  border-color: var(--primary);
}

.custom-checkbox input:checked ~ .checkmark,
.custom-radio input:checked ~ .radiomark {
  background: var(--primary);
  border-color: var(--primary);
}

.checkmark::after {
  content: '✓';
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  opacity: 0;
  transition: var(--transition-fast);
}

.radiomark::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--white);
  opacity: 0;
  transition: var(--transition-fast);
}

.custom-checkbox input:checked ~ .checkmark::after,
.custom-radio input:checked ~ .radiomark::after {
  opacity: 1;
}

.checkbox-text,
.radio-text {
  font-size: 0.9rem;
  color: var(--dark-gray);
  line-height: 1.4;
}

/* Auth Links */
.auth-links {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid #E0E0E0;
}

.auth-links p {
  color: var(--gray);
  margin-bottom: var(--space-sm);
}

.auth-links a {
  color: var(--primary);
  font-weight: 500;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* Social Auth */
.social-auth {
  margin: var(--space-xl) 0;
}

.social-divider {
  display: flex;
  align-items: center;
  margin: var(--space-xl) 0;
  color: var(--gray);
  font-size: 0.875rem;
}

.social-divider::before,
.social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E0E0E0;
}

.social-divider::before {
  margin-right: var(--space-md);
}

.social-divider::after {
  margin-left: var(--space-md);
}

.social-buttons {
  display: flex;
  gap: var(--space-md);
}

.btn-social {
  flex: 1;
  background: var(--white);
  color: var(--dark-gray);
  border: 2px solid #E0E0E0;
  font-weight: 500;
}

.btn-social:hover {
  background: var(--light-gray);
  color: var(--dark-gray);
}

.btn-google {
  border-color: #DB4437;
  color: #DB4437;
}

.btn-google:hover {
  background: #DB4437;
  color: var(--white);
}

.btn-facebook {
  border-color: #4267B2;
  color: #4267B2;
}

.btn-facebook:hover {
  background: #4267B2;
  color: var(--white);
}

/* Responsive Design for Auth */
@media (max-width: 768px) {
  .auth-card {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: var(--space-md);
  }
  
  .auth-visual {
    padding: var(--space-xl);
    min-height: 200px;
  }
  
  .auth-visual h2 {
    font-size: 2rem;
  }
  
  .auth-visual-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }
  
  .auth-form-container {
    padding: var(--space-xl);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .social-buttons {
    flex-direction: column;
  }
  
  .form-steps {
    overflow-x: auto;
    padding-bottom: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .auth-container {
    padding: var(--space-md) 0;
  }
  
  .auth-card {
    margin: var(--space-sm);
  }
  
  .auth-form-container {
    padding: var(--space-lg);
  }
  
  .auth-visual {
    padding: var(--space-lg);
  }
  
  .step-navigation {
    flex-direction: column;
  }
  
  .btn-prev,
  .btn-next {
    width: 100%;
  }
}

/* Loading States */
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
  margin-left: var(--space-sm);
}

/* Form Validation Styles */
.form-input:valid {
  border-color: var(--primary-green);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: var(--accent);
}

.password-strength {
  margin-top: var(--space-sm);
}

.strength-bar {
  height: 4px;
  background: #E0E0E0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  transition: var(--transition-fast);
  border-radius: var(--radius-sm);
}

.strength-weak .strength-fill {
  width: 33%;
  background: var(--accent);
}

.strength-medium .strength-fill {
  width: 66%;
  background: var(--primary-yellow);
}

.strength-strong .strength-fill {
  width: 100%;
  background: var(--primary-green);
}

.strength-text {
  font-size: 0.75rem;
  margin-top: var(--space-xs);
  color: var(--gray);
}


/*Support css code start*/


/* Support Page Styles */
.support-auth-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.support-title {
    text-align: center;
    color: #333;
}

.support-form-group {
    margin-bottom: 15px;
}

.support-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#support-message {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
}

.support-submit-button {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.support-submit-button:hover {
    background-color: #218838;
}

.support-success-message {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
}


/*Support css code ends */
