/* Modern Styles for Amar Namer Ortho Plugin */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --primary-bg: #eef2ff;
  --secondary: #ec4899;
  --secondary-light: #fbcfe8;
  --accent: #f59e0b;
  --text-dark: #1e293b;
  --text-medium: #475569;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
}

/* Common Styles */
.ano-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

.ano-card {
  background-color: var(--bg-white);
  padding: 20px 0;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.ano-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
  gap: 8px;
}

.ano-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

.ano-btn-secondary {
  background-color: var(--secondary);
}

.ano-btn-secondary:hover {
  background-color: #db2777;
}

.ano-btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.ano-btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

/* View Switcher */
.ano-view-switcher {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  gap: 8px;
}

.ano-view-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ano-view-option:hover {
  background-color: var(--primary-bg);
}

.ano-view-option.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.ano-view-option svg {
  width: 18px;
  height: 18px;
}

/* Name Card Styles */
.ano-name-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  padding-bottom: 20px;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.ano-name-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ano-name-title {
  flex: 1;
}

.ano-name-title h1 {
  font-size: 2.5rem;
  margin: 0;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

.ano-name-title h2 {
  font-size: 1.5rem;
  margin: 5px 0 0;
  color: var(--text-medium);
  font-weight: 500;
}

.ano-gender-badge {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  margin-left: 15px;
}

.ano-gender-badge::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}

.ano-gender-male {
  background-color: #dbeafe;
  color: #1e40af;
}

.ano-gender-male::before {
  background-color: #1e40af;
}

.ano-gender-female {
  background-color: #fce7f3;
  color: #be185d;
}

.ano-gender-female::before {
  background-color: #be185d;
}

.ano-pronunciation {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

.ano-pronunciation-item {
  display: flex;
  align-items: center;
  background-color: var(--bg-light);
  padding: 8px 15px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.ano-pronunciation-item:hover {
  background-color: var(--primary-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ano-pronunciation-item strong {
  margin-right: 8px;
  color: var(--text-dark);
}

.ano-pronunciation-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  margin-left: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ano-pronunciation-play:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

.ano-pronunciation-play.playing {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.ano-meaning-section {
  margin-bottom: 30px;
  background-color: var(--bg-white);
  padding: 0;
  position: relative;
}

.ano-meaning-section h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.ano-meaning-section h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background-color: var(--primary);
  margin-right: 10px;
  border-radius: var(--radius-sm);
}

.ano-meaning-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ano-meaning-item {
  background-color: var(--bg-light);
  padding: 8px 15px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.ano-meaning-item:hover {
  background-color: var(--primary-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* View Modes */
.ano-content-wrapper {
  transition: all 0.3s ease;
}

/* Enhanced Tab View */
.ano-view-tab .ano-tab-list {
  position: relative;
  display: flex;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 25px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0;
  gap: 5px;
}

.ano-view-tab .ano-tab-list::-webkit-scrollbar {
  display: none;
}

.ano-view-tab .ano-tab {
  position: relative;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-medium);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all 0.25s ease;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.ano-view-tab .ano-tab:hover {
  color: var(--primary);
  background-color: rgba(99, 102, 241, 0.04);
}

.ano-view-tab .ano-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background-color: transparent;
  font-weight: 600;
}

.ano-view-tab .ano-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: all 0.3s ease;
  color: currentColor;
}

.ano-view-tab .ano-tab.active .ano-tab-icon {
  color: var(--primary);
  transform: scale(1.1);
}

.ano-view-tab .ano-tab-content {
  display: none;
  padding: 25px 20px;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: none;
  transition: all 0.3s ease;
  margin-bottom: 25px;
}

.ano-view-tab .ano-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.ano-view-tab .ano-tab-content:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Grid View */
.ano-view-grid .ano-content-sections {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.ano-view-grid .ano-meaning-section {
  background-color: var(--bg-white);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  height: 100%;
  transition: all 0.2s ease;
}

.ano-view-grid .ano-meaning-section:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Box View */
.ano-view-box .ano-meaning-section {
  background-color: var(--bg-white);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.ano-view-box .ano-meaning-section:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.ano-view-box .ano-meaning-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.ano-details-section {
  margin-bottom: 40px;
}

.ano-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.ano-detail-box {
  background-color: var(--bg-white);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.ano-detail-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ano-detail-box h4 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.ano-detail-box p {
  margin-bottom: 8px;
  color: var(--text-medium);
}

.ano-detail-box strong {
  color: var(--text-dark);
  font-weight: 600;
}

.ano-related-names {
  margin-top: 40px;
  padding: 30px 0;
  position: relative;
  border-top: 1px solid var(--border-light);
}

.ano-related-names h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
}

.ano-related-names h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  margin-top: 10px;
  border-radius: var(--radius-full);
}

.ano-related-carousel {
  position: relative;
  padding: 0 40px;
}

.ano-related-carousel-inner {
  overflow: hidden;
}

.ano-related-carousel-track {
  display: flex;
  transition: transform 0.3s ease;
}

.ano-related-carousel-item {
  flex: 0 0 calc(20% - 16px);
  margin: 0 8px;
  min-width: 150px;
}

.ano-related-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  z-index: 2;
}

.ano-related-carousel-nav:hover {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.ano-related-carousel-prev {
  left: 0;
}

.ano-related-carousel-next {
  right: 0;
}

.ano-name-item {
  background-color: var(--bg-white);
  padding: 15px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  display: block;
  height: 100%;
}

.ano-name-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
  border-color: var(--primary-light);
}

/* Audio Player Styles */
.ano-audio-progress {
  width: 100%;
  height: 4px;
  background-color: var(--border-light);
  border-radius: var(--radius-full);
  margin-top: 5px;
  overflow: hidden;
  display: none;
}

.ano-audio-progress-bar {
  height: 100%;
  background-color: var(--primary);
  width: 0%;
  transition: width 0.1s linear;
}

.ano-pronunciation-item.playing .ano-audio-progress {
  display: block;
}

/* Home Page Styles */
.ano-search-section {
  text-align: center;
  padding: 60px 30px;
  background-color: var(--primary-bg);
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.ano-search-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: radial-gradient(var(--primary) 2px, transparent 2px);
  background-size: 30px 30px;
  z-index: 1;
}

.ano-search-content {
  position: relative;
  z-index: 2;
}

.ano-search-section h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.ano-search-section h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background-color: var(--primary);
  margin: 15px auto 0;
  border-radius: var(--radius-full);
}

.ano-search-section p {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ano-search-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  position: relative;
  z-index: 2;
}

.ano-search-input-wrapper {
  flex: 1;
  position: relative;
}

.ano-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.ano-search-input {
  flex: 1;
  width: 100%;
  padding: 15px 20px 15px 45px;
  font-size: 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  outline: none;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.ano-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.ano-search-btn {
  padding: 0 25px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ano-search-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

.ano-search-btn::after {
  content: "→";
  margin-left: 8px;
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.ano-search-btn:hover::after {
  transform: translateX(3px);
}

.ano-search-examples {
  margin-top: 15px;
  font-size: 0.875rem;
  color: var(--text-medium);
}

.ano-search-examples a {
  display: inline-block;
  margin: 0 5px;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.ano-search-examples a:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

.ano-trending-section {
  margin-bottom: 50px;
}

.ano-trending-section h3 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  position: relative;
}

.ano-trending-section h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  margin: 10px auto 0;
  border-radius: var(--radius-full);
}

.ano-trending-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.ano-trending-column {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.ano-trending-column:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.ano-trending-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-light);
}

.ano-gender-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.ano-gender-icon-male {
  background-color: #dbeafe;
  color: #1e40af;
}

.ano-gender-icon-female {
  background-color: #fce7f3;
  color: #be185d;
}

.ano-trending-column h4 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 0;
  font-weight: 600;
}

.ano-names-grid {
  display: grid;
  gap: 15px;
  margin-bottom: 20px;
}

.ano-trending-footer {
  text-align: center;
  margin-top: 20px;
}

.ano-alphabet-section {
  margin-bottom: 50px;
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.ano-alphabet-section h3 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  position: relative;
}

.ano-alphabet-section h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  margin: 10px auto 0;
  border-radius: var(--radius-full);
}

.ano-alphabet-container {
  overflow: hidden;
}

.ano-alphabet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 15px;
}

.ano-alphabet-item {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.ano-alphabet-item:hover {
  background-color: var(--primary-bg);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.ano-alphabet-letter {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 15px 10px;
  color: var(--primary);
  background-color: var(--primary-bg);
  border-bottom: 1px solid var(--border-light);
}

.ano-alphabet-preview {
  padding: 10px;
  font-size: 0.875rem;
}

.ano-alphabet-names-preview {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}

.ano-alphabet-names-preview span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-medium);
}

.ano-alphabet-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--primary);
  padding-top: 5px;
  border-top: 1px dashed var(--border-light);
}

/* Modal Styles */
.ano-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow: auto;
  backdrop-filter: blur(5px);
}

.ano-modal-content {
  background-color: var(--bg-white);
  margin: 50px auto;
  padding: 30px;
  border-radius: var(--radius-lg);
  max-width: 800px;
  position: relative;
  animation: anoModalOpen 0.3s ease;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

@keyframes anoModalOpen {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ano-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.ano-modal-close:hover {
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.ano-modal-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-light);
}

.ano-modal-header h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0;
  font-weight: 600;
}

.ano-modal-search {
  margin-bottom: 20px;
}

.ano-modal-search input {
  width: 100%;
  padding: 12px 15px 12px 45px;
  font-size: 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.3s ease;
}

.ano-modal-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.ano-modal-names {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

.ano-modal-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 15px;
}

.ano-pagination-prev,
.ano-pagination-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-bg);
  color: var(--primary);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.ano-pagination-prev:hover:not(:disabled),
.ano-pagination-next:hover:not(:disabled) {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ano-pagination-prev:disabled,
.ano-pagination-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ano-pagination-info {
  font-size: 0.9rem;
  color: var(--text-medium);
  font-weight: 500;
}

/* Add styles for the related names table */
.ano-related-names-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.ano-related-names-table th,
.ano-related-names-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.ano-related-names-table th {
  background-color: var(--primary-bg);
  color: var(--primary);
  font-weight: 600;
  width: 30%;
}

.ano-related-names-table tr:last-child th,
.ano-related-names-table tr:last-child td {
  border-bottom: none;
}

.ano-related-name-link {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 5px;
  padding: 5px 10px;
  background-color: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.ano-related-name-link:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.ano-nickname {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 5px;
  padding: 5px 10px;
  background-color: var(--secondary-light);
  color: var(--secondary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
}

/* Enhanced Related Names Section */
.ano-related-names-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.ano-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 8px;
}

.ano-pagination-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  color: var(--text-medium);
}

.ano-pagination-item:hover {
  background-color: var(--primary-bg);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.ano-pagination-item.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.ano-pagination-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ano-pagination-item.disabled:hover {
  background-color: var(--bg-light);
  color: var(--text-medium);
  transform: none;
  box-shadow: none;
}

.ano-pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-medium);
}

/* Enhanced Tab View */
.ano-view-tab .ano-tab-list {
  position: relative;
  display: flex;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.ano-view-tab .ano-tab-list::-webkit-scrollbar {
  display: none;
}

.ano-view-tab .ano-tab {
  position: relative;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all 0.2s ease;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ano-view-tab .ano-tab::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  transition: all 0.2s ease;
}

.ano-view-tab .ano-tab:hover {
  color: var(--primary);
}

.ano-view-tab .ano-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.ano-view-tab .ano-tab.active::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
}

.ano-view-tab .ano-tab-content {
  display: none;
  padding: 25px;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.ano-view-tab .ano-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.ano-view-tab .ano-tab-content:hover {
  box-shadow: var(--shadow-md);
}

/* Tab content enhancements */
.ano-tab-content .ano-meaning-section {
  margin-bottom: 25px;
  padding: 0;
  border: none;
  box-shadow: none;
}

.ano-tab-content .ano-meaning-section:last-child {
  margin-bottom: 0;
}

.ano-tab-content .ano-meaning-section h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.ano-tab-content .ano-meaning-section h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background-color: var(--primary);
  margin-right: 10px;
  border-radius: var(--radius-sm);
}

/* Tab icons */
.ano-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

/* Astrology Table Styles */
.ano-astrology-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.ano-astrology-table th,
.ano-astrology-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.ano-astrology-table tr:last-child th,
.ano-astrology-table tr:last-child td {
  border-bottom: none;
}

.ano-astrology-table th {
  width: 40%;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ano-astrology-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--primary-bg);
  border-radius: 50%;
  color: var(--primary);
}

.ano-color-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ano-color-chip {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  position: relative;
  color: white;
  font-weight: 500;
}

.ano-color-red {
  background-color: #ef4444;
}

.ano-color-blue {
  background-color: #3b82f6;
}

.ano-color-green {
  background-color: #10b981;
}

.ano-color-yellow {
  background-color: #f59e0b;
  color: var(--text-dark);
}

.ano-color-purple {
  background-color: #8b5cf6;
}

.ano-color-pink {
  background-color: #ec4899;
}

.ano-color-indigo {
  background-color: #6366f1;
}

.ano-stone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ano-stone-chip {
  display: inline-block;
  padding: 5px 10px;
  background-color: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.ano-stone-chip:hover {
  background-color: var(--primary);
  color: white;
}

/* Famous People Section */
.ano-famous-people-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.ano-famous-person-card {
  display: flex;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.ano-famous-person-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.ano-famous-person-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  background-color: var(--primary-bg);
}

.ano-famous-person-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ano-famous-person-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.ano-famous-person-info {
  padding: 15px;
  flex: 1;
}

.ano-famous-person-info h4 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
}

.ano-famous-person-profession {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-medium);
  font-size: 0.875rem;
  margin-bottom: 10px;
}

.ano-famous-person-info p {
  margin: 0 0 10px;
  color: var(--text-medium);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.ano-famous-person-achievements {
  margin-top: 10px;
}

.ano-famous-person-achievements strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.ano-famous-person-achievements ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.875rem;
  color: var(--text-medium);
}

.ano-famous-person-achievements li {
  margin-bottom: 3px;
}

/* Detailed Meaning Section */
.ano-detailed-meaning {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ano-meaning-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.ano-meaning-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ano-meaning-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background-color: var(--primary-bg);
  border-bottom: 1px solid var(--border-light);
}

.ano-meaning-card-header h4 {
  margin: 0;
  font-size: 1.125rem;
  color: var(--primary);
  font-weight: 600;
}

.ano-meaning-card-content {
  padding: 15px;
  color: var(--text-medium);
  line-height: 1.6;
}

.ano-meaning-list-enhanced {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ano-meaning-item-enhanced {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: var(--radius-md);
}

.ano-meaning-item-enhanced svg {
  color: var(--primary);
  flex-shrink: 0;
}

.ano-symbolism-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.ano-symbolism-card:hover {
  background-color: var(--primary-bg);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ano-symbolism-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.ano-symbolism-card p {
  margin: 0;
  color: var(--text-medium);
  line-height: 1.6;
}

/* Categories Section */
.ano-categories-section {
  margin-bottom: 50px;
}

.ano-categories-section h3 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  position: relative;
}

.ano-categories-section h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  margin: 10px auto 0;
  border-radius: var(--radius-full);
}

.ano-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.ano-category-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-dark);
}

.ano-category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.ano-category-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.ano-category-card:hover .ano-category-icon {
  background-color: var(--primary);
  color: white;
}

.ano-category-card h4 {
  font-size: 1.25rem;
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--primary);
}

.ano-category-card p {
  margin: 0;
  color: var(--text-medium);
  font-size: 0.9375rem;
}

/* Benefits Section */
.ano-benefits-section {
  margin-bottom: 50px;
  padding: 40px 30px;
  background-color: var(--primary-bg);
  border-radius: var(--radius-lg);
}

.ano-benefits-section h3 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  position: relative;
}

.ano-benefits-section h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  margin: 10px auto 0;
  border-radius: var(--radius-full);
}

.ano-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.ano-benefit-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.ano-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.ano-benefit-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--primary);
}

.ano-benefit-card h4 {
  font-size: 1.25rem;
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--primary);
}

.ano-benefit-card p {
  margin: 0;
  color: var(--text-medium);
  font-size: 0.9375rem;
}

/* Responsive enhancements */
@media (max-width: 768px) {
  .ano-view-tab .ano-tab {
    padding: 10px 15px;
    font-size: 0.875rem;
  }

  .ano-view-tab .ano-tab-content {
    padding: 20px 15px;
  }

  .ano-related-names-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }

  .ano-pagination-item {
    width: 35px;
    height: 35px;
    font-size: 0.875rem;
  }

  .ano-trending-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ano-famous-person-card {
    flex-direction: column;
  }

  .ano-famous-person-image {
    width: 100%;
    height: 180px;
  }

  .ano-categories-grid,
  .ano-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ano-view-tab .ano-tab {
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .ano-view-tab .ano-tab::before {
    display: none;
  }

  .ano-view-tab .ano-tab.active::before {
    display: inline-block;
    width: 6px;
    height: 6px;
  }

  .ano-view-tab .ano-tab-content {
    padding: 15px 12px;
  }

  .ano-related-names-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
  }

  .ano-pagination {
    gap: 5px;
  }

  .ano-pagination-item {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .ano-search-form {
    flex-direction: column;
  }

  .ano-search-input {
    border-radius: var(--radius-full);
    margin-bottom: 10px;
  }

  .ano-search-btn {
    border-radius: var(--radius-full);
  }

  .ano-alphabet-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Astrology Section Styles */
.ano-astrology-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ano-astrology-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.ano-astrology-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: all 0.3s ease;
}

.ano-astrology-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.ano-astrology-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-bg) 0%, #e0e7ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.ano-astrology-content {
  flex: 1;
}

.ano-astrology-content h4 {
  margin: 0 0 10px;
  font-size: 1.125rem;
  color: var(--primary);
  font-weight: 600;
}

.ano-astrology-value {
  font-size: 1.125rem;
  color: var(--text-dark);
  font-weight: 500;
}

.ano-astrology-description {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.ano-astrology-description h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.ano-astrology-description p {
  margin: 0 0 15px;
  color: var(--text-medium);
  line-height: 1.6;
}

.ano-astrology-compatibility {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px dashed var(--border-light);
}

.ano-astrology-compatibility h4 {
  margin: 0 0 10px;
  font-size: 1.125rem;
  color: var(--primary);
  font-weight: 600;
}

/* Enhanced Famous People Search Styles */
.ano-famous-person-search {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed var(--border-light);
}

.ano-famous-person-search h5 {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  color: var(--text-dark);
  font-weight: 600;
}

.ano-search-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ano-search-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ano-search-btn-google {
  background-color: #f8fafc;
  color: #4285f4;
  border: 1px solid #e2e8f0;
}

.ano-search-btn-google:hover {
  background-color: #4285f4;
  color: white;
  transform: translateY(-2px);
}

.ano-search-btn-bing {
  background-color: #f8fafc;
  color: #008373;
  border: 1px solid #e2e8f0;
}

.ano-search-btn-bing:hover {
  background-color: #008373;
  color: white;
  transform: translateY(-2px);
}

.ano-search-btn-chatgpt {
  background-color: #f8fafc;
  color: #10a37f;
  border: 1px solid #e2e8f0;
}

.ano-search-btn-chatgpt:hover {
  background-color: #10a37f;
  color: white;
  transform: translateY(-2px);
}

/* Add styles for the coming soon tag in ChatGPT button */
.ano-coming-soon {
  font-size: 0.75rem;
  opacity: 0.7;
  font-style: italic;
  margin-left: 4px;
}

/* Enhanced Alphabet Section Styles */
.ano-alphabet-section {
  margin-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-bg) 0%, #f5f7ff 100%);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.ano-alphabet-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--primary-light) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.2;
  z-index: 0;
}

.ano-alphabet-section h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.ano-alphabet-section h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  margin: 15px auto 0;
  border-radius: var(--radius-full);
}

.ano-alphabet-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
  position: relative;
  z-index: 1;
}

.ano-alphabet-filter-label {
  font-size: 1.125rem;
  color: var(--text-dark);
  font-weight: 500;
}

.ano-alphabet-filter-buttons {
  display: flex;
  gap: 10px;
}

.ano-alphabet-filter-btn {
  padding: 10px 20px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.ano-alphabet-filter-btn:hover {
  background-color: var(--primary-bg);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ano-alphabet-filter-btn.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.ano-alphabet-container {
  position: relative;
  z-index: 1;
}

.ano-alphabet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 20px;
}

.ano-alphabet-item {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  position: relative;
  animation: fadeIn 0.5s ease both;
}

.ano-alphabet-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  z-index: 2;
}

.ano-alphabet-letter {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  padding: 25px 10px;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary-bg) 0%, #e0e7ff 100%);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.ano-alphabet-item:hover .ano-alphabet-letter {
  color: var(--primary-dark);
  transform: scale(1.1);
}

.ano-alphabet-preview {
  padding: 15px;
  font-size: 0.9375rem;
}

.ano-alphabet-names-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.ano-alphabet-names-preview span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-medium);
  padding: 5px 8px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.ano-alphabet-names-preview span:hover {
  background-color: var(--primary-bg);
  color: var(--primary);
  transform: translateX(5px);
}

.ano-alphabet-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--primary);
  padding: 10px;
  border-top: 1px dashed var(--border-light);
  transition: all 0.3s ease;
  font-weight: 500;
}

.ano-alphabet-item:hover .ano-alphabet-more {
  background-color: var(--primary-bg);
  color: var(--primary-dark);
}

@keyframes fadeInAlphabet {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add styles for the astrology disclaimer */
.ano-astrology-disclaimer {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.ano-disclaimer-content {
  max-width: 700px;
  margin: 0 auto;
}

.ano-astrology-disclaimer h3 {
  color: var(--text-dark);
  margin-bottom: 15px;
  text-align: center;
}

.ano-astrology-disclaimer p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.ano-astrology-disclaimer blockquote {
  background-color: var(--primary-bg);
  border-left: 4px solid var(--primary);
  padding: 15px;
  margin: 15px 0;
  font-style: italic;
  border-radius: var(--radius-md);
}

.ano-disclaimer-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

/* Add black color for all color chips */
.ano-color-black {
  background-color: #333;
  color: white;
}

/* FAQ Styles */
.ano-faq-section {
  margin-bottom: 60px;
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.ano-faq-section h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  position: relative;
}

.ano-faq-section h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  margin: 15px auto 0;
  border-radius: var(--radius-full);
}

.ano-faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.ano-faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ano-faq-question {
  padding: 18px 20px;
  background-color: var(--bg-light);
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.ano-faq-question:hover {
  background-color: var(--primary-bg);
  color: var(--primary);
}

.ano-faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  transition: all 0.3s ease;
}

.ano-faq-item.active .ano-faq-question {
  background-color: var(--primary-bg);
  color: var(--primary);
}

.ano-faq-item.active .ano-faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.ano-faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ano-faq-item.active .ano-faq-answer {
  padding: 20px;
  max-height: 1000px;
}

.ano-faq-answer p {
  margin: 0;
  color: var(--text-medium);
  line-height: 1.6;
}

/* Responsive Styles for Astrology and Famous People */
@media (max-width: 768px) {
  .ano-astrology-cards {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .ano-famous-person-card {
    flex-direction: column;
  }

  .ano-famous-person-image {
    width: 100%;
    height: 180px;
  }

  .ano-alphabet-filter {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .ano-astrology-cards {
    grid-template-columns: 1fr;
  }

  .ano-search-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .ano-search-buttons a {
    width: 100%;
  }
}

/* Enhanced Origin Tab */
.ano-tab-content[data-tab-content="origin"] {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-bg) 100%);
}

.ano-tab-content[data-tab-content="origin"] .ano-meaning-section h3 {
  color: var(--primary-dark);
  font-size: 1.4rem;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.ano-tab-content[data-tab-content="origin"] p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.ano-tab-content[data-tab-content="origin"] p strong {
  min-width: 100px;
  color: var(--primary);
  position: relative;
}

.ano-tab-content[data-tab-content="origin"] p strong::after {
  content: ":";
  position: absolute;
  right: 10px;
}

/* Enhanced Personality Tab */
.ano-tab-content[data-tab-content="personality"] {
  background: linear-gradient(135deg, var(--bg-white) 0%, #f0f9ff 100%);
}

.ano-tab-content[data-tab-content="personality"] .ano-meaning-section h3 {
  color: #0369a1;
  font-size: 1.4rem;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.ano-tab-content[data-tab-content="personality"] .ano-meaning-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.ano-tab-content[data-tab-content="personality"] .ano-meaning-item {
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  padding: 8px 15px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.ano-tab-content[data-tab-content="personality"] .ano-meaning-item:hover {
  background-color: #bae6fd;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* Enhanced Numerology Tab */
.ano-tab-content[data-tab-content="numerology"] {
  background: linear-gradient(135deg, var(--bg-white) 0%, #f5f3ff 100%);
}

.ano-tab-content[data-tab-content="numerology"] .ano-meaning-section h3 {
  color: #7e22ce;
  font-size: 1.4rem;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.ano-tab-content[data-tab-content="numerology"] p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.ano-tab-content[data-tab-content="numerology"] p strong {
  min-width: 100px;
  color: #7e22ce;
  position: relative;
}

.ano-tab-content[data-tab-content="numerology"] p strong::after {
  content: ":";
  position: absolute;
  right: 10px;
}

.ano-tab-content[data-tab-content="numerology"] .ano-meaning-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.ano-tab-content[data-tab-content="numerology"] .ano-meaning-item {
  background-color: #f3e8ff;
  color: #7e22ce;
  border: 1px solid #d8b4fe;
  padding: 8px 15px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.ano-tab-content[data-tab-content="numerology"] .ano-meaning-item:hover {
  background-color: #d8b4fe;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* Number Badge */
.ano-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #7e22ce;
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.25rem;
  margin-right: 15px;
  box-shadow: 0 4px 6px -1px rgba(126, 34, 206, 0.3);
}

/* Related Names Section - Matching Trending Names Style */
.ano-related-names .ano-trending-names-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.ano-related-names .ano-trending-name-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-dark);
}

.ano-related-names .ano-trending-name-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  background-color: var(--primary-bg);
}

.ano-related-names .ano-trending-name-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ano-related-names .ano-trending-name-card:hover .ano-trending-name-icon {
  transform: scale(1.1);
  background-color: var(--primary);
  color: white;
}

.ano-related-names .ano-trending-name-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ano-related-names .ano-trending-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Responsive adjustments for related names */
@media (max-width: 768px) {
  .ano-related-names .ano-trending-names-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .ano-related-names .ano-trending-names-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
  }

  .ano-related-names .ano-trending-name-card {
    padding: 10px;
    gap: 10px;
  }

  .ano-related-names .ano-trending-name-icon {
    width: 30px;
    height: 30px;
  }

  .ano-related-names .ano-trending-name {
    font-size: 1rem;
  }
}

/* Enhanced Pagination Styles */
.ano-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 10px;
}

.ano-pagination-numbers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.ano-pagination-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: var(--text-medium);
  font-size: 1rem;
}

.ano-pagination-number:hover {
  background-color: var(--primary-bg);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ano-pagination-number.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.ano-pagination-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.ano-pagination-nav:hover:not(:disabled) {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ano-pagination-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: var(--text-light);
}

.ano-pagination-nav svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5px;
}

/* Animation for related name items */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.related-name-item {
  opacity: 0;
  animation-fill-mode: forwards;
}

/* Responsive adjustments for pagination */
@media (max-width: 768px) {
  .ano-pagination-number {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .ano-pagination-nav {
    width: 44px;
    height: 44px;
  }

  .ano-pagination-nav svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .ano-pagination-number {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .ano-pagination-nav {
    width: 38px;
    height: 38px;
  }

  .ano-pagination-nav svg {
    width: 18px;
    height: 18px;
  }
}
.ano-search-btn {
  font-family: inherit;
}

.ano-filter-group label {
  font-family: inherit;
}

.ano-modal-search .ano-search-icon {
  display: none;
}

.ano-display-options label {
  font-family: inherit;
}

/* License Required Message */
.ano-license-required {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  text-align: center;
  margin: 20px auto;
  max-width: 600px;
}

.ano-license-required h2 {
  color: #dc3545;
  margin-top: 0;
}

.ano-license-required .ano-button {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 10px;
  font-weight: bold;
}

.ano-license-required .ano-button:hover {
  background-color: #0069d9;
}

/* Global Search Bar Styles */
.ano-global-search-container {
  background-color: var(--primary-bg);
  padding: 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.ano-global-search-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--primary-light) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.2;
  z-index: 0;
}

.ano-global-search-form {
  display: flex;
  position: relative;
  z-index: 1;
  gap: 10px;
}

.ano-global-search-input-wrapper {
  flex: 1;
  position: relative;
}

.ano-global-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.ano-global-search-input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  font-size: 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-full);
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  background-color: var(--bg-white);
}

.ano-global-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.ano-global-search-clear {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.ano-global-search-clear:hover {
  opacity: 1;
  color: var(--text-dark);
}

.ano-global-search-btn {
  padding: 0 20px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
}

.ano-global-search-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ano-global-search-btn svg {
  transition: transform 0.2s ease;
}

.ano-global-search-btn:hover svg {
  transform: translateX(3px);
}

/* Name Image Section Styles */
.ano-name-image-section {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  text-align: center;
}

.ano-name-image-section h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.ano-name-image-section h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  margin: 10px auto 0;
  border-radius: var(--radius-full);
}

.ano-name-image-preview {
  margin: 20px auto;
  max-width: 600px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.ano-name-image-preview:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.ano-name-image {
  width: 100%;
  height: auto;
  display: block;
}

.ano-name-image-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.ano-download-btn {
  background-color: var(--primary);
  color: white;
}

.ano-download-btn:hover {
  background-color: var(--primary-dark);
}

.ano-share-btn {
  background-color: var(--secondary);
  color: white;
}

.ano-share-btn:hover {
  background-color: #db2777;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .ano-global-search-form {
    flex-direction: column;
  }

  .ano-global-search-btn {
    width: 100%;
    padding: 12px 20px;
  }

  .ano-name-image-actions {
    flex-direction: column;
    gap: 10px;
  }

  .ano-download-btn,
  .ano-share-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .ano-global-search-container {
    padding: 15px;
  }

  .ano-global-search-input {
    padding: 10px 15px 10px 40px;
    font-size: 0.9rem;
  }

  .ano-global-search-icon {
    left: 12px;
    width: 16px;
    height: 16px;
  }

  .ano-name-image-section {
    padding: 15px;
  }

  .ano-name-image-section h3 {
    font-size: 1.25rem;
  }
}
