/* Dashboard Standalone Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --teal: #84c0ad;
  --teal-dark: #6fb89f;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.5;
}

.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.dashboard-sidebar {
  width: 280px;
  background: white;
  border-right: 1px solid var(--gray-200);
  padding: 2rem 1.5rem;
  position: fixed;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.dashboard-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}

.dashboard-logo-icon {

}

.dashboard-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.dashboard-nav-item:hover {
  background: var(--gray-50);
  color: var(--teal);
}

.dashboard-nav-item.active {
  background: rgba(132, 192, 173, 0.1);
  color: var(--teal);
  font-weight: 600;
}

.dashboard-logout-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  color: #dc2626;
  background: transparent;
  border: none;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  font-family: inherit;
}

.dashboard-logout-btn:hover {
  background: #fee2e2;
}

/* Main Content */
.dashboard-main {
  margin-left: 280px;
  flex: 1;
  padding: 2rem;
}

.container {
  max-width: 100%;
  margin: 0 auto;
}

.container-narrow {
  max-width: 100%;
  margin: 0 auto;
}

/* Typography */
h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
}

/* Cards */
.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.card-lg {
  padding: 2rem;
}

.card-rounded {
  border-radius: 1.5rem;
}

.card-xl {
  border-radius: 2rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.stat-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon.blue {
  background: #dbeafe;
  color: #2563eb;
}

.stat-icon.green {
  background: #dcfce7;
  color: #16a34a;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

/* Quick Actions Banner */
.quick-actions-banner {
  background: linear-gradient(to right, var(--teal), var(--teal-dark));
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.quick-actions-banner h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.quick-actions-banner p {
  color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(to right, var(--teal), var(--teal-dark));
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn-secondary:hover {
  background: var(--teal);
  color: white;
}

.btn-white {
  background: white;
  color: var(--teal);
}

.btn-white:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-xl {
  padding: 1.25rem 2rem;
  font-size: 1.25rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 2px solid var(--gray-200);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(132, 192, 173, 0.1);
}

.form-textarea {
  resize: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Order Type Cards */
.order-type-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .order-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.order-type-card {
  position: relative;
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 3px solid var(--gray-200);
  background: white;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s;
}

.order-type-card:hover {
  border-color: var(--teal);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(1.02) translateY(-4px);
}

.order-type-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(132, 192, 173, 0.1), rgba(111, 184, 159, 0.05));
  opacity: 0;
  transition: opacity 0.3s;
}

.order-type-card:hover .order-type-card-bg {
  opacity: 1;
}

.order-type-card-content {
  position: relative;
  text-align: center;
}

.order-type-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  background: linear-gradient(to bottom right, var(--teal), var(--teal-dark));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content:center;
  color: white;
  transition: transform 0.3s;
}

.order-type-card:hover .order-type-icon {
  transform: scale(1.1);
}

.order-type-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.order-type-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.order-type-action {
  color: var(--teal);
  font-weight: 600;
}

/* Selected Service Badge */
.selected-service-badge {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(to right, rgba(132, 192, 173, 0.2), rgba(111, 184, 159, 0.2));
  border-radius: 1rem;
  border: 2px solid rgba(132, 192, 173, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.selected-service-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.selected-service-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to bottom right, var(--teal), var(--teal-dark));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.selected-service-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.25rem;
}

.selected-service-name {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--gray-900);
}

/* Form Sections */
.form-section {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  border: 1px solid var(--gray-100);
  margin-bottom: 1.5rem;
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-section-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(to bottom right, var(--teal), var(--teal-dark));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.form-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

/* Payment Card */
.payment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 2px solid var(--teal);
  background: linear-gradient(to right, rgba(132, 192, 173, 0.1), rgba(111, 184, 159, 0.05));
  margin-bottom: 1.5rem;
}

.payment-card-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payment-card-icon {
  width: 3rem;
  height: 3rem;
  background: white;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.payment-card-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.25rem;
}

.payment-card-number {
  font-weight: 700;
  color: var(--gray-900);
}

/* Success Message */
.success-message {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(to right, #f0fdf4, #d1fae5);
  border: 2px solid #86efac;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.success-icon {
  width: 3rem;
  height: 3rem;
  background: #22c55e;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.success-title {
  font-weight: 700;
  color: #14532d;
  font-size: 1.125rem;
}

.success-text {
  color: #15803d;
  font-size: 0.875rem;
}

/* Header with Icon */
.header-with-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.header-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to bottom right, var(--teal), var(--teal-dark));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.header-subtitle {
  color: var(--gray-600);
  font-size: 1.125rem;
}

/* Utilities */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-900 { color: var(--gray-900); }
.text-teal { color: var(--teal); }

.hidden { display: none; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.flex-start {align-items: flex-start;}

/* Progress Bar */
.progress-container {
  margin-bottom: 1rem;
}

.progress-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.progress-bar {
  height: 0.5rem;
  flex: 1;
  background: var(--gray-200);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--teal), var(--teal-dark));
  border-radius: 9999px;
  transition: width 0.3s;
}

.progress-label {
  font-size: 0.875rem;
  color: var(--gray-600);
      display: flex;
    align-items: center;
}

/* Order Dates */
.order-dates {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.order-date-item p:first-child {
  color: var(--gray-500);
}

.order-date-item p:last-child {
  font-weight: 600;
  color: var(--gray-900);
}

/* Responsive */
@media (max-width: 768px) {
  .dashboard-sidebar {
    width: 240px;
  }

  .dashboard-main {
    margin-left: 240px;
  }

  h1 {
    font-size: 1.875rem;
  }
}

@media (max-width: 640px) {
  .dashboard-sidebar {
    display: none;
  }

  .dashboard-main {
    margin-left: 0;
  }
}
