

/* Ensure proper touch targets */

.jyotisham-tab-btn,
.jyotisham-style-btn,
.jyotisham-division-btn {
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
}

/* Improve touch interactions */
.jyotisham-tab-btn:active,
.jyotisham-style-btn:active,
.jyotisham-division-btn:active {
  transform: scale(0.98);
}

/* Prevent horizontal scroll */


.jyotisham-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Header */
.jyotisham-header {
  text-align: center;
  padding: 32px 0;
}

.jyotisham-header h1 {
  color: #1a202c;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.jyotisham-header p {
  color: #4a5568;
  font-size: 1rem;
  font-weight: 400;
}

/* Form Styles */
.jyotisham-form-container {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.jyotisham-form-group {
  margin-bottom: 24px;
}

.jyotisham-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.jyotisham-form-group input,
.jyotisham-form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s ease;
  background: #ffffff;
  color: #374151;
  box-sizing: border-box;
  max-width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

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

/* Custom dropdown arrow for select */
.jyotisham-form-group select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  height: auto !important; 
}

.jyotisham-generate-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.jyotisham-generate-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Loading */
.jyotisham-loading {
  text-align: center;
  padding: 48px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  margin: 0 auto;
  max-width: 900px;
}

.jyotisham-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f1f5f9;
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Results */
.jyotisham-results {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  width: 100%;
  max-width: 900px !important;
  box-sizing: border-box;
  margin: 0 auto;
}

/* Tab Navigation */
.jyotisham-tab-navigation {
  display: flex;
  flex-wrap: wrap;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.jyotisham-tab-btn {
  padding: 16px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  position: relative;
}

.jyotisham-tab-btn:hover {
  background: #f1f5f9;
  color: #374151;
}

.jyotisham-tab-btn.jyotisham-active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
  background: #ffffff;
  font-weight: 600;
}

/* Tab Content */
.jyotisham-tab-content {
  padding: 32px;
}

.jyotisham-tab-pane {
  display: none;
}

.jyotisham-tab-pane.jyotisham-active {
  display: block;
}

.jyotisham-tab-pane h2 {
  color: #1a202c;
  margin-bottom: 24px;
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 12px;
}

/* Chart Controls */
.jyotisham-chart-controls {
  margin-bottom: 24px;
}

.jyotisham-chart-style-tabs,
.jyotisham-chart-division-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.jyotisham-style-btn,
.jyotisham-division-btn {
  padding: 8px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  transition: all 0.2s ease;
}

.jyotisham-style-btn:hover,
.jyotisham-division-btn:hover {
  background: #f1f5f9;
  color: #374151;
}

.jyotisham-style-btn.jyotisham-active,
.jyotisham-division-btn.jyotisham-active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

/* Content Cards */
.jyotisham-content {
  display: grid;
  gap: 24px;
}

.jyotisham-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.jyotisham-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.jyotisham-card h3 {
  color: #1a202c;
  margin-bottom: 16px;
  font-size: 1.125rem;
  font-weight: 500;
}

.jyotisham-card p {
  color: #4a5568;
  margin-bottom: 12px;
  line-height: 1.6;
}

.jyotisham-card .value {
  font-weight: 600;
  color: #2d3748;
}

/* Table Container */
.jyotisham-table-container {
  width: 100%;
  margin-top: 16px;
  background: #ffffff;
  border-radius: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e0 #f7fafc;
}

.jyotisham-table-container::-webkit-scrollbar {
  height: 8px;
}

.jyotisham-table-container::-webkit-scrollbar-track {
  background: #f7fafc;
  border-radius: 4px;
}

.jyotisham-table-container::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 4px;
}

.jyotisham-table-container::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

/* Data Tables */
.jyotisham-data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.jyotisham-data-table th,
.jyotisham-data-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
  min-width: 120px;
}

.jyotisham-data-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.jyotisham-data-table tr:hover {
  background: #f8fafc;
}

.jyotisham-data-table td {
  color: #4a5568;
}

/* Chart Display */
.jyotisham-chart-container {
  text-align: center;
  margin: 24px 0;
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.jyotisham-chart-svg {
  max-width: 100%;
  height: auto;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: white;
}

/* Utility Classes */
.jyotisham-hidden {
  display: none !important;
}

.jyotisham-text-center {
  text-align: center;
}

/* Error and Warning Display */
.jyotisham-error {
  border-left: 4px solid #ef4444;
  background: #fef2f2;
}

.jyotisham-warning {
  border-left: 4px solid #f59e0b;
  background: #fffbeb;
}

.jyotisham-error-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
}

.jyotisham-error-icon {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.jyotisham-error-message {
  flex: 1;
}

.jyotisham-error-message h3,
.jyotisham-error-message h4 {
  margin: 0 0 8px 0;
  color: #374151;
  font-size: 1.125rem;
  font-weight: 600;
}

.jyotisham-error-message p {
  margin: 0 0 16px 0;
  color: #6b7280;
  line-height: 1.5;
}

.jyotisham-error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.jyotisham-retry-btn,
.jyotisham-close-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jyotisham-retry-btn {
  background: #3b82f6;
  color: white;
}

.jyotisham-retry-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.jyotisham-close-btn {
  background: #6b7280;
  color: white;
}

.jyotisham-close-btn:hover {
  background: #4b5563;
  transform: translateY(-1px);
}

/* Responsive Design - Mobile First Approach */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
  .jyotisham-container {
    padding: 20px;
    max-width: 100%;
  }

  .jyotisham-form-container {
    max-width: 95%;
    padding: 28px;
  }

  .jyotisham-results {
    max-width: 95%;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .jyotisham-container {
    padding: 16px;
    max-width: 100%;
  }

  .jyotisham-header {
    padding: 24px 0;
    margin-bottom: 24px;
  }

  .jyotisham-header h1 {
    font-size: 1.875rem;
    margin-bottom: 8px;
    line-height: 1.2;
  }

  .jyotisham-header p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .jyotisham-form-container {
    padding: 20px;
    margin-bottom: 20px;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .jyotisham-form-group {
    margin-bottom: 18px;
  }

  .jyotisham-form-group label {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  .jyotisham-form-group input,
  .jyotisham-form-group select {
    padding: 12px 14px;
    font-size: 16px; /* Prevent zoom on iOS */
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
  }

  .jyotisham-generate-btn {
    padding: 14px 20px;
    font-size: 15px;
    width: 100%;
  }

  .jyotisham-tab-content {
    padding: 16px;
  }

  .jyotisham-tab-navigation {
    flex-wrap: wrap;
    gap: 0;
  }

  .jyotisham-tab-btn {
    padding: 12px 16px;
    font-size: 13px;
    flex: 1;
    min-width: 0;
    text-align: center;
  }

  .jyotisham-tab-pane h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    margin-top: 16px;
  }

  .jyotisham-chart-style-tabs,
  .jyotisham-chart-division-tabs {
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }

  .jyotisham-style-btn,
  .jyotisham-division-btn {
    padding: 8px 12px;
    font-size: 12px;
    flex: 1;
    min-width: 0;
  }

  .jyotisham-card {
    padding: 16px;
    margin-bottom: 16px;
  }

  .jyotisham-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
  }

  .jyotisham-data-table {
    font-size: 0.85rem;
  }

  .jyotisham-data-table th,
  .jyotisham-data-table td {
    padding: 8px 12px;
  }

  .jyotisham-chart-container {
    padding: 16px;
    margin: 16px 0;
  }

  .jyotisham-chart-svg {
    max-width: 100%;
    height: auto;
  }

  .jyotisham-content {
    gap: 16px;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  .jyotisham-container {
    padding: 12px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .jyotisham-header {
    padding: 20px 0;
    margin-bottom: 20px;
  }

  .jyotisham-header h1 {
    font-size: 1.5rem;
    word-wrap: break-word;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .jyotisham-header p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .jyotisham-form-container {
    padding: 16px;
    margin: 0 0 16px 0;
    max-width: 100%;
    border-radius: 12px;
  }

  .jyotisham-form-group {
    margin-bottom: 16px;
  }

  .jyotisham-form-group label {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }

  .jyotisham-form-group input,
  .jyotisham-form-group select {
    padding: 14px 12px;
    font-size: 16px; /* Prevent zoom on iOS */
    border-radius: 6px;
  }

  .jyotisham-generate-btn {
    padding: 16px 20px;
    font-size: 14px;
    border-radius: 8px;
  }

  .jyotisham-tab-content {
    padding: 12px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .jyotisham-tab-navigation {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
  }

  .jyotisham-tab-navigation::-webkit-scrollbar {
    display: none;
  }

  .jyotisham-tab-btn {
    flex: 0 0 auto;
    min-width: 80px;
    text-align: center;
    padding: 12px 8px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 2px solid transparent;
  }

  .jyotisham-tab-pane h2 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    margin-top: 12px;
  }

  .jyotisham-card {
    padding: 12px;
    max-width: 100%;
    overflow-x: hidden;
    margin-bottom: 12px;
  }

  .jyotisham-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .jyotisham-chart-style-tabs,
  .jyotisham-chart-division-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
  }

  .jyotisham-style-btn,
  .jyotisham-division-btn {
    padding: 8px 12px;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
    text-align: center;
    border-radius: 16px;
  }

  .jyotisham-data-table {
    font-size: 0.75rem;
  }

  .jyotisham-data-table th,
  .jyotisham-data-table td {
    padding: 6px 8px;
  }

  .jyotisham-chart-container {
    padding: 12px;
    margin: 12px 0;
  }

  .jyotisham-content {
    gap: 12px;
  }

  .jyotisham-card h3,
  .jyotisham-card p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
}

/* Very Small Mobile Phones */
@media (max-width: 360px) {
  .jyotisham-container {
    padding: 8px;
  }

  .jyotisham-header h1 {
    font-size: 1.25rem;
  }

  .jyotisham-header p {
    font-size: 0.8rem;
  }

  .jyotisham-form-container {
    padding: 12px;
  }

  .jyotisham-tab-btn {
    min-width: 70px;
    padding: 10px 6px;
    font-size: 10px;
  }

  .jyotisham-card {
    padding: 10px;
  }

  .jyotisham-data-table {
    font-size: 0.7rem;
  }

  .jyotisham-data-table th,
  .jyotisham-data-table td {
    padding: 4px 6px;
  }
}

/* Landscape Mobile Orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .jyotisham-header {
    padding: 16px 0;
    margin-bottom: 16px;
  }

  .jyotisham-header h1 {
    font-size: 1.5rem;
  }

  .jyotisham-form-container {
    padding: 16px;
  }

  .jyotisham-tab-content {
    padding: 12px;
  }
}

/* Additional styles for new elements */
.jyotisham-benefits-section {
  margin-bottom: 20px;
}

.jyotisham-benefits-title {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 8px;
}

.jyotisham-benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.jyotisham-benefit-item {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  border-left: 4px solid #10b981;
  background: #f0fdf4;
  color: #065f46;
}

.jyotisham-benefit-item.jyotisham-positive {
  border-left-color: #10b981;
  background: #f0fdf4;
  color: #065f46;
}

.jyotisham-benefit-item.jyotisham-healing {
  border-left-color: #3b82f6;
  background: #eff6ff;
  color: #1e40af;
}

.jyotisham-remedies-section,
.jyotisham-effects-section {
  margin-top: 20px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.jyotisham-remedies-title,
.jyotisham-effects-title {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.jyotisham-remedies-title::before {
  content: "🔮";
  margin-right: 8px;
}

.jyotisham-effects-title::before {
  content: "⚠️";
  margin-right: 8px;
}

.jyotisham-remedies-list,
.jyotisham-effects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.jyotisham-remedy-item,
.jyotisham-effect-item {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  background: white;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.jyotisham-remedy-item {
  border-left: 4px solid #8b5cf6;
}

.jyotisham-effect-item {
  border-left: 4px solid #f59e0b;
}

/* Shimmer Loader Styles */
.jyotisham-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
  margin-bottom: 16px;
}

.jyotisham-shimmer-card {
  height: 120px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.jyotisham-shimmer-chart {
  height: 400px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  /* background: white; */
}

.jyotisham-shimmer-line {
  height: 16px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 12px;
}

.jyotisham-shimmer-line.long {
  width: 85%;
}

.jyotisham-shimmer-line.medium {
  width: 65%;
}

.jyotisham-shimmer-line.short {
  width: 45%;
}

.jyotisham-shimmer-line:last-child {
  margin-bottom: 0;
}

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

/* Enhanced shimmer for table loading */
.jyotisham-shimmer-table {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.jyotisham-shimmer-table-header {
  height: 48px;
  background: linear-gradient(90deg, #f8fafc 25%, #e2e8f0 50%, #f8fafc 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-bottom: 1px solid #e2e8f0;
}

.jyotisham-shimmer-table-row {
  height: 56px;
  background: linear-gradient(90deg, #ffffff 25%, #f8fafc 50%, #ffffff 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.jyotisham-shimmer-table-row:last-child {
  border-bottom: none;
}

.jyotisham-shimmer-table-cell {
  height: 20px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-right: 16px;
  flex: 1;
}

.jyotisham-shimmer-table-cell:last-child {
  margin-right: 0;
}

.jyotisham-shimmer-table-cell:nth-child(1) { width: 20%; }
.jyotisham-shimmer-table-cell:nth-child(2) { width: 15%; }
.jyotisham-shimmer-table-cell:nth-child(3) { width: 15%; }
.jyotisham-shimmer-table-cell:nth-child(4) { width: 20%; }
.jyotisham-shimmer-table-cell:nth-child(5) { width: 15%; }
.jyotisham-shimmer-table-cell:nth-child(6) { width: 15%; }

/* Mobile responsive for new elements */
@media (max-width: 768px) {
  .jyotisham-benefits-list,
  .jyotisham-remedies-list,
  .jyotisham-effects-list {
    grid-template-columns: 1fr;
  }

  .jyotisham-benefit-item,
  .jyotisham-remedy-item,
  .jyotisham-effect-item {
    padding: 10px 12px;
    font-size: 13px;
  }

  .jyotisham-shimmer-card {
    height: 100px;
    padding: 16px;
  }

  .jyotisham-shimmer-chart {
    height: 300px;
  }

  .jyotisham-shimmer-line {
    height: 14px;
    margin-bottom: 10px;
  }

  .jyotisham-shimmer-table-row {
    height: 48px;
    padding: 0 12px;
  }

  .jyotisham-shimmer-table-cell {
    height: 16px;
    margin-right: 12px;
  }
}

/* Loading Indicators for Location Search */
.jyotisham-search-loading,
.jyotisham-hora-search-loading,
.jyotisham-panchang-search-loading,
.jyotisham-choghadiya-search-loading,
.jyotisham-matching-boy-search-loading,
.jyotisham-matching-girl-search-loading {
  position: relative;
  background-color: #f8f9fa;
  border-color: #007cba;
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.jyotisham-search-loading-indicator,
.jyotisham-hora-search-loading-indicator,
.jyotisham-panchang-search-loading-indicator,
.jyotisham-choghadiya-search-loading-indicator,
.jyotisham-matching-boy-search-loading-indicator,
.jyotisham-matching-girl-search-loading-indicator {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #666;
  pointer-events: none;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Animation for loading indicators */
@keyframes searchPulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.jyotisham-search-loading-indicator,
.jyotisham-hora-search-loading-indicator,
.jyotisham-panchang-search-loading-indicator,
.jyotisham-choghadiya-search-loading-indicator,
.jyotisham-matching-boy-search-loading-indicator,
.jyotisham-matching-girl-search-loading-indicator {
  animation: searchPulse 1.5s ease-in-out infinite;
}

/* Mobile loading indicators */
@media (max-width: 768px) {
  .jyotisham-search-loading-indicator,
  .jyotisham-hora-search-loading-indicator,
  .jyotisham-panchang-search-loading-indicator,
  .jyotisham-choghadiya-search-loading-indicator,
  .jyotisham-matching-boy-search-loading-indicator,
  .jyotisham-matching-girl-search-loading-indicator {
    font-size: 11px;
    right: 8px;
    padding: 1px 4px;
  }
}
