/* Login 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-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-remember {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.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;
}

.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;
  cursor: pointer;
}

.forgot-password {
  font-size: 14px;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.forgot-password:hover {
  text-decoration: underline;
}

.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;
}

/* 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: 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;
  }
} 