/* Auth Pages CSS Styles */
:root {
  --primary-color: #4e73df;
  --primary-hover: #2e59d9;
  --secondary-color: #858796;
  --success-color: #1cc88a;
  --info-color: #36b9cc;
  --warning-color: #f6c23e;
  --danger-color: #e74a3b;
  --light-color: #f8f9fc;
  --dark-color: #5a5c69;
}

body {
  background-color: #f8f9fa;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
}

.auth-container {
  min-height: 100vh;
}

.auth-illustration {
  background-color: var(--primary-color);
  background-image: linear-gradient(180deg, var(--primary-color) 10%, var(--primary-hover) 100%);
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.auth-illustration::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/pattern.svg");
  opacity: 0.15;
}

.auth-form-container {
  min-height: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.toggle-password {
  cursor: pointer;
}

/* Social login buttons */
.btn-outline-danger:hover {
  color: #fff;
}

.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
  border-color: #bac8f3;
}

/* Card styles */
.card {
  border: none;
}

.card-header {
  background-color: transparent;
}

/* Form styles */
.input-group-text {
  background-color: #f8f9fa;
  border-right: none;
}

.input-group .form-control {
  border-left: none;
}

.form-control {
  height: calc(1.5em + 1rem + 2px);
  padding: 0.5rem 1rem;
}

/* Error message styling */
.alert-danger {
  border-left: 4px solid #e74a3b;
}

.alert-success {
  border-left: 4px solid #1cc88a;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .auth-illustration {
    display: none !important;
  }
}
