/* Register Page Styles
-------------------------------------------------- */

/* Text Gradient Style */
.text-gradient {
  background: linear-gradient(to right, var(--primary-color), #ff9a8b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

/* Auth Container */
.auth-container {
  display: flex;
  min-height: calc(100vh - 80px);
  padding: 80px 0;
}

.auth-wrapper {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

/* Auth Image Side */
.auth-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: none;
}

@media (min-width: 992px) {
  .auth-image {
    display: block;
  }
}

.auth-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.auth-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(255, 90, 95, 0.8), rgba(255, 90, 95, 0.4));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  color: #fff;
  text-align: center;
  z-index: 10;
}

.auth-image-content {
  max-width: 400px;
}

.auth-image-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.auth-image-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

.auth-image-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.auth-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.auth-feature i {
  width: 24px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Auth Form Side */
.auth-form-container {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 576px) {
  .auth-form-container {
    padding: 30px 20px;
  }
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.auth-logo img {
  height: 50px;
}

.auth-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  color: var(--dark-color);
}

.auth-subtitle {
  font-size: 16px;
  color: #777;
  margin-bottom: 40px;
  text-align: center;
}

.auth-form {
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

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

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .form-group {
  flex: 1;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-color);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.1);
  background-color: #fff;
  outline: none;
}

.form-control.error {
  border-color: #dc3545;
}

.form-error {
  color: #dc3545;
  font-size: 13px;
  margin-top: 5px;
}

.form-select {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.1);
  background-color: #fff;
  outline: none;
}

.form-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 30px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid #ddd;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  margin-top: 3px;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-input:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
}

.form-check-label {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.form-check-label a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.form-check-label a:hover {
  text-decoration: underline;
}

.password-toggle {
  position: relative;
}

.password-toggle-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #777;
  font-size: 16px;
  z-index: 2;
}

.password-toggle-icon:hover {
  color: var(--primary-color);
}

.password-requirements {
  margin-top: 8px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 6px;
  font-size: 13px;
  color: #666;
  border-left: 3px solid var(--primary-color);
}

.password-requirements p {
  margin: 0;
  line-height: 1.4;
}

.password-requirements i {
  color: var(--primary-color);
  margin-right: 5px;
}

.password-strength {
  margin-top: 10px;
}

.strength-meter {
  height: 4px;
  border-radius: 2px;
  background-color: #ddd;
  margin-bottom: 8px;
  overflow: hidden;
}

.strength-meter-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
  font-size: 12px;
  font-weight: 600;
}

.strength-weak .strength-meter-fill {
  width: 25%;
  background-color: #dc3545;
}

.strength-medium .strength-meter-fill {
  width: 50%;
  background-color: #ffc107;
}

.strength-strong .strength-meter-fill {
  width: 75%;
  background-color: #17a2b8;
}

.strength-very-strong .strength-meter-fill {
  width: 100%;
  background-color: #28a745;
}

.strength-weak .strength-text {
  color: #dc3545;
}

.strength-medium .strength-text {
  color: #ffc107;
}

.strength-strong .strength-text {
  color: #17a2b8;
}

.strength-very-strong .strength-text {
  color: #28a745;
}

.btn-auth {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: var(--gradient-primary);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 90, 95, 0.3);
  margin-bottom: 20px;
}

.btn-auth:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 90, 95, 0.4);
}

.auth-separator {
  display: flex;
  align-items: center;
  margin: 30px 0;
  color: #777;
  font-size: 14px;
}

.auth-separator::before,
.auth-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #ddd;
}

.auth-separator::before {
  margin-right: 15px;
}

.auth-separator::after {
  margin-left: 15px;
}

.social-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.btn-social {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-social:hover {
  background-color: #f1f3f5;
  transform: translateY(-2px);
}

.btn-social i {
  font-size: 16px;
}

.btn-google i {
  color: #DB4437;
}

.btn-facebook i {
  color: #4267B2;
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #777;
}

.auth-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.auth-link:hover {
  text-decoration: underline;
}

/* Success Message Card */
.success-card {
  background-color: #f1f9f1;
  border-left: 4px solid #28a745;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.5s ease-out;
}

.success-card .success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.success-card .success-icon i {
  font-size: 48px;
  color: #28a745;
}

.success-card .success-title {
  font-size: 20px;
  font-weight: 700;
  color: #28a745;
  margin-bottom: 10px;
}

.success-card .success-message {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.success-card .redirect-message {
  font-size: 14px;
  color: #777;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.success-card .countdown {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background-color: #28a745;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
}

/* Steps */
.register-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.register-steps::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ddd;
  z-index: 1;
}

.step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 33.333%;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #f8f9fa;
  border: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #777;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.step-text {
  font-size: 14px;
  color: #777;
  font-weight: 500;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.step.active .step-text {
  color: var(--primary-color);
  font-weight: 600;
}

.step.completed .step-number {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.step.completed .step-number::after {
  content: '✓';
  font-size: 12px;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-form-container {
  animation: fadeIn 0.6s ease-out;
}

/* Responsive */
@media (max-width: 991px) {
  .auth-wrapper {
    flex-direction: column;
  }
  
  .auth-form-container {
    order: 1;
    width: 100%;
  }
  
  .auth-image {
    display: block;
    order: 2;
    min-height: 400px;
    width: 100%;
  }
  
  .auth-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
  }
}

@media (max-width: 767px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 576px) {
  .auth-container {
    padding: 20px 0;
  }
  
  .auth-wrapper {
    border-radius: 0;
    box-shadow: none;
  }
  
  .social-buttons {
    flex-direction: column;
  }
  
  .auth-image {
    min-height: 350px;
  }
  
  .auth-image-content {
    padding: 20px;
  }
  
  .auth-image-title {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .auth-image-text {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .auth-image-features {
    gap: 10px;
  }
  
  .auth-feature {
    font-size: 14px;
  }
} 