 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
:root {
  --primary-color: #4f46e5;
  --primary-hover: #4338ca;
  --secondary-color: #0ea5e9;
  --success-color: #10b981;
  --error-color: #ef4444;
  --warning-color: #f59e0b;
  --white: #ffffff;
  --light-gray: #f9fafb;
  --border-color: #e5e7eb;
  --text-primary: #111827;
  --text-secondary: #6b7280;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: var(--light-gray);
  color: var(--text-primary);
  line-height: 1.5;
  font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}

/* Card Styling */
.card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Card Header Variants */
.card-header {
  padding: 1.25rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* User-specific header */
.user-header {
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
}

/* Professional-specific header */
.professional-header {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.card-body {
  padding: 2rem;
}

/* Form Styling */
.form-group {
  margin-bottom: 1.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -0.5rem;
}

.justify-content-center {
  justify-content: center;
}

[class^="col-"] {
  padding: 0.5rem;
}

.col-md-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-md-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--white);
  background-clip: padding-box;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}

/* Label Styling */
.col-form-label {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-weight: 500;
  color: var(--text-primary);
}

.text-md-right {
  text-align: right;
}

/* Button Styling */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.btn-primary {
  color: var(--white);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Professional button variant */
.btn-professional {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-professional:hover {
  background-color: #0284c7;
  border-color: #0284c7;
}

/* Form Validation */
.is-invalid {
  border-color: var(--error-color);
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--error-color);
}

/* Alert Messages */
.alert {
  position: relative;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 500;
}

.alert-success {
  color: #064e3b;
  background-color: #d1fae5;
  border-color: #a7f3d0;
}

/* Utility Classes */
.offset-md-4 {
  margin-left: 33.333333%;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

/* Logo Section - Optional */
.logo-section {
  text-align: center;
  margin-bottom: 2rem;
}

.logo-image {
  height: 50px;
  margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .text-md-right {
    text-align: left;
  }
  
  .col-md-4, .col-md-6, .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .offset-md-4 {
    margin-left: 0;
  }
  
  .card-header {
    padding: 1rem 1.25rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

/* Optional Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

/* Password Strength Indicator - Optional */
.password-strength {
  height: 5px;
  margin-top: 0.5rem;
  border-radius: 2.5px;
  background-color: var(--border-color);
  overflow: hidden;
}

.password-strength-meter {
  height: 100%;
  width: 0;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-weak {
  width: 33.333%;
  background-color: var(--error-color);
}

.strength-medium {
  width: 66.666%;
  background-color: var(--warning-color);
}

.strength-strong {
  width: 100%;
  background-color: var(--success-color);
}