/* Dashboard and Profile Styles */

/* Dashboard Header */
.dashboard-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  margin: -1rem -1rem 2rem -1rem;
  padding: 3rem 2rem;
}

.dashboard-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.dashboard-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

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

/* Dashboard Cards */
.dashboard-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dashboard-card .card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.dashboard-card .card-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-card .card-header i {
  color: #6366f1;
}

.dashboard-card .card-content {
  text-align: center;
}

.dashboard-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.dashboard-card .stat-label {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1rem;
  display: block;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin: 1rem 0 0.5rem 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  transition: width 0.3s ease;
}

/* ROI Indicator */
.roi-indicator {
  margin-top: 0.5rem;
}

.roi-positive {
  color: #059669;
  font-weight: 600;
  font-size: 0.9rem;
}

.approval-rate {
  color: #059669;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Message Preview */
.message-preview {
  text-align: left;
  background: #f9fafb;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.message-preview p {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
}

.message-preview small {
  color: #6b7280;
  font-size: 0.8rem;
}

/* Recent Activity */
.recent-activity {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.recent-activity h3 {
  margin-bottom: 1rem;
  color: #374151;
  font-size: 1.2rem;
}

.activity-list > *+* {
  margin-top: 1rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.activity-item i {
  color: #6366f1;
  flex-shrink: 0;
}

.activity-item span {
  flex: 1;
  font-size: 0.9rem;
  color: #374151;
}

.activity-item small {
  color: #6b7280;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Profile Styles */
.profile-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem 0;
}

.profile-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.profile-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .profile-content {
    grid-template-columns: 1fr;
  }
}

.profile-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.profile-avatar-section {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #f3f4f6;
}

.profile-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1rem auto;
}

.profile-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.profile-form .form-group {
  margin-bottom: 1rem;
}

.profile-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}

.profile-form input,
.profile-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.profile-form input:focus,
.profile-form select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.profile-form input[readonly] {
  background-color: #f9fafb;
  color: #6b7280;
}

.profile-form small {
  color: #6b7280;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: block;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #f3f4f6;
}

.profile-actions {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  height: fit-content;
}

.profile-actions h3 {
  margin-bottom: 1rem;
  color: #374151;
  font-size: 1.1rem;
}

.action-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.action-list .btn {
  justify-content: flex-start;
  text-align: left;
}

.action-list .btn i {
  margin-right: 0.5rem;
}

/* User Dropdown Styles */
.user-menu {
  position: relative;
}

.user-avatar {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  transition: transform 0.2s;
}

.user-avatar:hover {
  transform: scale(1.05);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
  min-width: 200px;
  z-index: 1000;
  margin-top: 0.5rem;
  overflow: hidden;
}

.dropdown-menu.hidden {
  display: none !important;
}

.dropdown-header {
  padding: 1rem;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.dropdown-header .user-name {
  display: block;
  font-weight: 600;
  color: #1f2937;
  font-size: 0.9rem;
}

.dropdown-header .user-type {
  display: block;
  color: #6b7280;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.dropdown-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 0.9rem;
  cursor: pointer;
}

.dropdown-item:hover {
  background: #f3f4f6;
}

.dropdown-item i {
  width: 16px;
  height: 16px;
  color: #6b7280;
}

.logout-btn {
  color: #dc2626 !important;
}

.logout-btn:hover {
  background: #fef2f2 !important;
}

.logout-btn i {
  color: #dc2626 !important;
}

/* Button Variants */
.btn-success {
  background-color: #10b981;
  color: white;
  border: 1px solid #10b981;
}

.btn-success:hover {
  background-color: #059669;
  border-color: #059669;
}

.btn-danger {
  background-color: #ef4444;
  color: white;
  border: 1px solid #ef4444;
}

.btn-danger:hover {
  background-color: #dc2626;
  border-color: #dc2626;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Loading States */
.loading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.business-card-skeleton,
.dashboard-card-skeleton {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
}

.skeleton-image {
  height: 200px;
  margin-bottom: 1rem;
}

.skeleton-title {
  height: 24px;
  margin-bottom: 0.5rem;
}

.skeleton-text {
  height: 16px;
  margin-bottom: 0.5rem;
}

.skeleton-button {
  height: 36px;
  width: 120px;
  margin-top: 1rem;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Empty and Error States */
.empty-state,
.error-state {
  text-align: center;
  padding: 3rem 2rem;
  color: #6b7280;
  grid-column: 1 / -1;
}

.empty-icon,
.error-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #d1d5db;
}

.empty-state h3,
.error-state h3 {
  font-size: 1.5rem;
  color: #374151;
  margin-bottom: 0.5rem;
}

.empty-state p,
.error-state p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Profile Section Specific */
.profile-section {
  min-height: 100vh;
  padding: 2rem 0;
  background: #f9fafb;
}

/* Toast Notifications */
.success-toast {
  animation: slideIn 0.3s ease-out;
}

/* Complete Modal & Business Idea Styles - Add to dashboard-extra.css */

/* Business Idea Modal Styles */
.business-idea-modal {
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.business-idea-modal .modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.business-idea-modal .modal-header h2 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.business-idea-modal .modal-header p {
  color: #6b7280;
  font-size: 0.95rem;
}

.business-idea-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-section {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  background: #f9fafb;
}

.form-section h3 {
  color: #374151;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

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

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group small {
  color: #6b7280;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.char-counter {
  text-align: right;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
  .form-actions {
    flex-direction: column;
  }
}

/* Investment Modal Styles */
.investment-modal {
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.investment-modal .modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.investment-modal .modal-header h2 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.investment-modal .modal-header p {
  color: #6b7280;
  font-size: 0.95rem;
}

.investment-proposal-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Idea Card Styles */
.idea-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.idea-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.idea-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.idea-category {
  background: #3b82f6;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.idea-funding {
  color: #059669;
  font-weight: 600;
  font-size: 0.9rem;
}

.idea-content {
  padding: 1rem;
}

.idea-title {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.idea-description {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.idea-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.idea-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.idea-meta i {
  width: 14px;
  height: 14px;
}

.idea-stats {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f3f4f6;
}

.view-count {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #6b7280;
  font-size: 0.8rem;
}

.idea-actions {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid #f3f4f6;
  background: #f9fafb;
  flex-wrap: wrap;
}

.idea-actions .btn {
  flex: 1;
  min-width: 120px;
}

/* Save Button States */
.save-idea-btn.saved {
  background: #059669;
  color: white;
  border-color: #059669;
}

.save-idea-btn.saved:hover {
  background: #047857;
  border-color: #047857;
}

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

.dashboard-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-header {
  padding: 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.card-header h3 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-content {
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin: 0.75rem 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  transition: width 0.3s ease;
}

.roi-indicator {
  margin-top: 0.5rem;
}

.roi-positive {
  color: #059669;
  font-weight: 600;
  font-size: 0.9rem;
}

.approval-rate {
  color: #059669;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Dashboard Section Styles */
.dashboard-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h3 {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.ideas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Empty State Styles */
.empty-ideas {
  text-align: center;
  padding: 3rem 2rem;
  color: #6b7280;
}

.empty-ideas i {
  width: 48px;
  height: 48px;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.empty-ideas h4 {
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.empty-ideas p {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* Loading States */
.loading-spinner {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
}

.loading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.business-card-skeleton {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  height: 200px;
}

.skeleton {
  background: #f3f4f6;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.skeleton-image {
  height: 60px;
  width: 100%;
}

.skeleton-title {
  height: 20px;
  width: 80%;
}

.skeleton-text {
  height: 16px;
  width: 100%;
}

.skeleton-text:last-of-type {
  width: 60%;
}

.skeleton-button {
  height: 36px;
  width: 120px;
  margin-top: 1rem;
}

/* Recent Activity Styles */
.recent-activity {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
}

.recent-activity h3 {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #f3f4f6;
}

.activity-item i {
  width: 16px;
  height: 16px;
  color: #6b7280;
  flex-shrink: 0;
}

.activity-item span {
  color: #374151;
  font-size: 0.9rem;
  flex: 1;
}

.activity-item small {
  color: #6b7280;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Idea Details Modal */
.idea-details-modal {
  max-width: 900px;
  max-height: 90vh;
}

.idea-details {
  padding: 2rem;
}

.idea-details .idea-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.idea-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.category-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
}

.funding-badge {
  background: #dcfce7;
  color: #166534;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
}

.idea-details h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  text-align: center;
}

.idea-details .idea-meta {
  justify-content: center;
  gap: 2rem;
}

.idea-content {
  margin-bottom: 2rem;
}

.idea-content section {
  margin-bottom: 2rem;
}

.idea-content section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.idea-content section h3:before {
  content: "";
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.idea-content section p {
  color: #4b5563;
  line-height: 1.7;
  font-size: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: #f3f4f6;
  color: #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Empty States */
.empty-ideas {
  text-align: center;
  padding: 3rem 2rem;
  color: #6b7280;
}

.empty-ideas i {
  font-size: 3rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.empty-ideas h4 {
  font-size: 1.3rem;
  color: #374151;
  margin-bottom: 0.5rem;
}

.empty-ideas p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Toast Notifications */
.toast {
  animation: slideIn 0.3s ease-out;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast-close {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.toast-close:hover {
  opacity: 1;
}

/* Loading States */
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 1rem;
    max-height: 95vh;
  }

  .business-idea-modal {
    max-width: none;
  }

  .business-idea-form {
    padding: 0 1rem 1rem 1rem;
  }

  .modal-header {
    padding: 1.5rem 1rem 1rem 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-actions {
    flex-direction: column;
  }

  .idea-details {
    padding: 1rem;
  }

  .idea-badges {
    flex-direction: column;
    align-items: center;
  }

  .idea-details .idea-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .idea-actions {
    flex-direction: column;
  }

  .idea-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .modal-header h2 {
    font-size: 1.5rem;
  }

  .idea-details h1 {
    font-size: 1.5rem;
  }

  .toast {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-header {
    margin: -1rem -0.5rem 2rem -0.5rem;
    padding: 2rem 1rem;
  }

  .dashboard-header h1 {
    font-size: 2rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .profile-content {
    padding: 0 1rem;
  }

  .dropdown-menu {
    right: 0;
    left: auto;
    min-width: 180px;
  }
}

/* Dark mode support (if needed later) */
@media (prefers-color-scheme: dark) {
  .dashboard-card {
    background: #1f2937;
    border-color: #374151;
  }

  .dashboard-card .card-header h3 {
    color: #f9fafb;
  }

  .dashboard-card .stat-number {
    color: #f9fafb;
  }

  .recent-activity {
    background: #1f2937;
    border-color: #374151;
  }

  .activity-item {
    background: #111827;
  }
}

/* Button Loading States */
.btn-loading {
  position: relative;
  color: transparent;
}

.btn-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
