/* Dashboard Responsive Design */

/* General centering for mobile */
@media (max-width: 768px) {
  .dashboard-cards-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    margin-bottom: 2rem !important;
  }

  .dashboard-actions-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-bottom: 2rem !important;
  }
  
  .dashboard-links-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-bottom: 2rem !important;
  }
}
@media (max-width: 1024px) {
  .dashboard-main-flex {
    flex-direction: column;
    gap: 32px;
    padding: 0 1rem;
  }
  .dashboard-main-content {
    padding-top: 1.5rem;
  }
  .latest-services-section-vertical {
    order: 1;
  }
}

@media (max-width: 768px) {
  .dashboard-main-flex {
    gap: 24px;
    padding: 0 0.8rem;
  }
  
  /* Header section improvements */
  .dashboard-header-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .dashboard-title {
    font-size: 1.8rem;
    margin-bottom: 0;
    text-align: center;
  }
  
  .dashboard-account-btn {
    align-self: center;
    width: auto;
    min-width: 200px;
  }
  
  .dashboard-cards-row {
    gap: 20px !important;
    margin-bottom: 2rem !important;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .dashboard-card {
    width: 100%;
    max-width: 350px;
  }
  .dashboard-card {
    min-width: 180px;
    min-height: 150px;
    padding: 1.5rem 1rem;
  }
  .dashboard-card-value {
    font-size: 1.8rem;
  }
  .dashboard-actions-row {
    gap: 16px !important;
    margin-bottom: 2rem !important;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .dashboard-action-btn {
    font-size: 1.1rem;
    padding: 1rem 0;
    width: 100%;
    max-width: 350px;
  }
  .dashboard-links-row {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2rem;
    justify-content: center;
    display: flex;
    align-items: center;
  }
  .dashboard-link-btn {
    width: 100%;
    max-width: 350px;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
  }
  
  .dashboard-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
}

@media (max-width: 480px) {
  .dashboard-main-flex {
    padding: 0 0.5rem;
  }
  
  .dashboard-header-section {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .dashboard-title {
    font-size: 1.5rem;
    margin-bottom: 0;
    text-align: center;
  }
  
  .dashboard-account-btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  
  .dashboard-cards-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .dashboard-card {
    min-width: auto;
    min-height: 140px;
    padding: 1.2rem 1rem;
    width: 100%;
    max-width: 320px;
  }
  .dashboard-card-value {
    font-size: 1.6rem;
  }
  .dashboard-actions-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .dashboard-action-btn {
    font-size: 1rem;
    padding: 0.9rem 0;
    width: 100%;
    max-width: 320px;
  }
}

/* Latest Services Section Responsive */
@media (max-width: 768px) {
  .latest-services-section-vertical {
    padding: 1.5rem;
    border-radius: 12px;
  }
  .latest-services-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  .service-card-vertical {
    padding: 1rem;
    margin-bottom: 0.8rem;
  }
  .service-card-header {
    gap: 0.8rem;
  }
  .service-name {
    font-size: 1rem;
  }
  .service-card-body {
    gap: 0.5rem;
  }
  .service-price, .service-date {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .latest-services-section-vertical {
    padding: 1rem;
  }
  .latest-services-title {
    font-size: 1.2rem;
  }
  .service-card-vertical {
    padding: 0.8rem;
  }
  .service-name {
    font-size: 0.95rem;
  }
  .service-price, .service-date {
    font-size: 0.85rem;
  }
} 