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

body {
  background-color: #12141C;
  color: #FFFFFF;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  flex: 1;
}

.layout-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .layout-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    align-items: start;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideDownSearch {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .site-header {
    flex-direction: row;
    justify-content: space-between;
  }
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  color: #F29EA5;
  font-size: 2rem;
}

.logo-text {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #F29EA5;
  letter-spacing: -0.02em;
}

.nav-toolbar {
  background-color: #2F1B22;
  padding: 0.75rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.nav-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.nav-btn:hover {
  background-color: #F29EA5;
  color: #4A2B2F;
}

.nav-separator {
  width: 1px;
  height: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 0 0.25rem;
}

.btn-highlight {
  background-color: #F29EA5;
  color: #4A2B2F;
}

.section-badge {
  background-color: #F29EA5;
  color: #4A2B2F;
  font-family: "Fira Code", monospace;
  font-size: 0.875rem;
  font-weight: 700;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(242, 158, 165, 0.3);
  transition: transform 0.2s;
}
.section-badge:hover {
  transform: scale(1.1) rotate(5deg);
}

.tag-pill {
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  color: #D1D5DB;
  display: inline-block;
  transition: all 0.2s ease;
}
.tag-pill:hover {
  background-color: #F29EA5;
  color: #4A2B2F;
  border-color: transparent;
}

.pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.page-btn, .page-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.2s;
}

.page-btn {
  background-color: #2F1B22;
  color: white;
}
.page-btn:hover {
  background-color: #F29EA5;
  color: #4A2B2F;
}

.page-number.current {
  background-color: #F29EA5;
  color: #4A2B2F;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.section-title {
  font-family: "Fredoka", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0;
}

.site-footer {
  margin-top: 6rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  width: 3rem;
  height: 3rem;
  background-color: #2F1B22;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  font-size: 1.25rem;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-link:hover {
  background-color: #F29EA5;
  color: #4A2B2F;
  transform: translateY(-3px);
  border-color: transparent;
}

.copyright {
  color: #9CA3AF;
  font-size: 0.875rem;
  font-weight: 500;
}

.brand-name {
  color: #F29EA5;
  font-weight: 700;
}

.featured-section {
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out;
}

.featured-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}

.featured-badge {
  background-color: #2F1B22;
  color: #F29EA5;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-card {
  display: block;
  background-color: #2F1B22;
  border-radius: 2.5rem;
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
@media (min-width: 768px) {
  .featured-card {
    padding: 2rem;
  }
}
.featured-card:hover {
  transform: translateY(-5px);
  background-color: #3a222a;
}
.featured-card:hover .featured-card-img {
  transform: scale(1.05);
}
.featured-card:hover .featured-btn {
  filter: brightness(1.1);
}

.featured-card-image-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .featured-card-image-wrapper {
    aspect-ratio: 21/9;
  }
}

.featured-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.featured-overlay-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.featured-overlay-badge i {
  color: #F29EA5;
}

.featured-card-content {
  padding: 0 0.5rem;
}

.featured-title {
  font-family: "Fredoka", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: white;
}
@media (min-width: 768px) {
  .featured-title {
    font-size: 2rem;
  }
}

.featured-summary {
  color: #9CA3AF;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) {
  .featured-summary {
    -webkit-line-clamp: 3;
  }
}

.featured-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.featured-meta {
  font-size: 0.75rem;
  color: #9CA3AF;
  font-weight: 500;
}

.featured-btn {
  background-color: #F29EA5;
  color: #4A2B2F;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: filter 0.2s;
}

.posts-list,
.card-style-wrapper,
.terms-grid-categories {
  background-color: #2F1B22;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}
.posts-list.sidebar-reset,
.card-style-wrapper.sidebar-reset,
.terms-grid-categories.sidebar-reset {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.post-item,
.term-card-category {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background-color: transparent;
  color: #FFFFFF;
  padding: 1.25rem 0.5rem;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none !important;
  transition: background-color 0.2s ease;
  position: relative;
}
.post-item:first-child,
.term-card-category:first-child {
  padding-top: 0.5rem;
}
.post-item:last-child,
.term-card-category:last-child {
  border-bottom: none;
  padding-bottom: 0.5rem;
}
.post-item:hover,
.term-card-category:hover {
  background-color: rgba(255, 255, 255, 0.02);
}
.post-item:hover .post-item-title, .post-item:hover .term-title,
.term-card-category:hover .post-item-title,
.term-card-category:hover .term-title {
  color: #F29EA5;
}

.post-item-image,
.term-card-image {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(0, 0, 0, 0.1);
}

.post-item-icon,
.term-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(242, 158, 165, 0.1);
  color: #F29EA5;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-item-body,
.term-info {
  flex: 1;
  min-width: 0; /* Penting agar text-overflow berfungsi */
}

.post-item-title,
.term-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.35rem;
  color: #FFFFFF;
  transition: color 0.2s;
  /* Membatasi Judul Menjadi 2 Baris */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; /* Tambahan untuk titik-titik (...) */
  max-height: 2.8em; /* Fallback height: 1.4em * 2 lines */
}

.post-item-meta,
.term-count {
  font-size: 0.75rem;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}
.post-item-meta .meta-cat,
.term-count .meta-cat {
  color: #F29EA5;
  font-weight: 700;
  text-transform: capitalize;
}
.post-item-meta .meta-dot,
.term-count .meta-dot {
  font-size: 0.5rem;
  opacity: 0.5;
}

.hero-single {
  position: relative;
  width: 100%;
  min-height: 320px;
  padding: 2rem 1.5rem;
  border-radius: 2rem;
  overflow: hidden;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .hero-single {
    min-height: 380px;
    padding: 3rem 4rem;
  }
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(18, 20, 28, 0.4), rgba(18, 20, 28, 0.9));
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 850px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: "Fredoka", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
    line-height: 1.2;
  }
}
.hero-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #F29EA5;
  margin: 1rem auto 1.5rem;
  border-radius: 2px;
}

.hero-meta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  width: auto;
  max-width: 90%;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.85rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  .hero-meta-row {
    flex-direction: row;
    gap: 0;
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    max-width: none;
  }
}

.meta-author-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0.5rem;
  margin-bottom: 0.25rem;
  width: 100%;
  justify-content: center;
}
@media (min-width: 768px) {
  .meta-author-group {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
    width: auto;
    padding-right: 1rem;
  }
}

.hero-author-img {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 2px solid #F29EA5;
  object-fit: cover;
}

.meta-details-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .meta-details-wrapper {
    display: contents;
  }
}

.meta-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.meta-info-item i {
  color: #F29EA5;
  font-size: 0.85rem;
}
.meta-info-item::before {
  content: none !important;
}

.meta-divider {
  display: none;
}
@media (min-width: 768px) {
  .meta-divider {
    display: block;
    width: 1px;
    height: 1rem;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 1rem;
  }
}

.article-content {
  font-size: 1.125rem;
  color: #D1D5DB;
  margin-bottom: 4rem;
}
.article-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.article-content h2 {
  font-family: "Fredoka", sans-serif;
  color: #F29EA5;
  font-size: 1.875rem;
  font-weight: 800;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}
.article-content h3 {
  font-family: "Fredoka", sans-serif;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.article-content strong {
  color: white;
  font-weight: 700;
}
.article-content a {
  color: #F29EA5;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article-content img {
  border-radius: 2rem;
  margin: 2rem 0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.article-content blockquote {
  background-color: #2F1B22;
  padding: 1.5rem;
  border-radius: 1rem;
  border-left: 4px solid #F29EA5;
  font-style: italic;
  color: #9CA3AF;
  margin: 2rem 0;
}
.article-content pre {
  background-color: #1E1E1E;
  padding: 1.5rem;
  border-radius: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Fira Code", monospace;
  font-size: 0.875rem;
}
.article-content pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
}
.article-content code {
  font-family: "Fira Code", monospace;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
  color: #F29EA5;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 2rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tag-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: #F29EA5;
  background-color: rgba(242, 158, 165, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  transition: all 0.2s;
}
.tag-link:hover {
  background-color: #F29EA5;
  color: #4A2B2F;
}

.related-posts {
  animation: fadeInUp 0.8s ease-out;
}

.related-header {
  margin-bottom: 2rem;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .sidebar {
    position: sticky;
    top: 2rem;
  }
}

.widget-title {
  font-family: "Fredoka", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

.widget-content {
  background-color: #2F1B22;
  padding: 1.25rem;
  border-radius: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.category-pill {
  background-color: #F29EA5;
  color: #4A2B2F;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  flex-grow: 1;
  text-align: center;
}
.category-pill:hover {
  transform: scale(1.05);
}

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

.terms-cloud-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.term-pill-tag {
  background-color: #2F1B22;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  font-size: 1rem;
  color: #D1D5DB;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s;
}
.term-pill-tag:hover {
  background-color: #F29EA5;
  color: #4A2B2F;
  transform: scale(1.05);
  border-color: transparent;
}

.tag-hash {
  color: #F29EA5;
  font-weight: 700;
}

.term-pill-tag:hover .tag-hash {
  color: #4A2B2F;
}

.tag-count-badge {
  background-color: rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.term-pill-tag:hover .tag-count-badge {
  background-color: rgba(0, 0, 0, 0.1);
  color: #4A2B2F;
}

.sidebar-widgets-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.widget-slim {
  background-color: #2F1B22;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}
.widget-slim:hover {
  transform: translateY(-3px);
  border-color: #F29EA5;
  background-color: #3a222a;
}
.widget-slim:hover .widget-slim-btn {
  background-color: #F29EA5;
  color: #4A2B2F;
  border-color: transparent;
}

.widget-slim-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(242, 158, 165, 0.1);
  color: #F29EA5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.widget-slim-content {
  flex: 1;
}

.widget-slim-title {
  font-family: "Fredoka", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  color: white;
}

.widget-slim-desc {
  font-size: 0.75rem;
  color: #9CA3AF;
  line-height: 1.2;
  margin-top: 0.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.widget-slim-btn {
  width: 2.25rem;
  height: 2.25rem;
  background-color: rgba(255, 255, 255, 0.05);
  color: #9CA3AF;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s;
  cursor: pointer;
  flex-shrink: 0;
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  animation: fadeInOverlay 0.3s forwards;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(18, 20, 28, 0.95);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.search-wrapper {
  position: relative;
  z-index: 10000;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  transform: translateY(-20px);
  animation: slideDownSearch 0.4s forwards 0.1s;
}
@media (max-width: 640px) {
  .search-wrapper {
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: 0;
  }
}

.search-bar-container {
  display: flex;
  align-items: center;
  background-color: #2F1B22;
  border: 2px solid #F29EA5;
  border-radius: 1.5rem;
  padding: 0.5rem;
  padding-left: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
  position: relative;
  transition: all 0.3s ease;
}
@media (max-width: 640px) {
  .search-bar-container {
    margin-right: 4.5rem;
    padding-left: 1rem;
    border-radius: 1.25rem;
  }
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  outline: none;
  height: 3rem;
  width: 100%;
}
.search-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
@media (max-width: 640px) {
  .search-input {
    font-size: 1rem;
    height: 2.5rem;
  }
}

.search-submit-btn {
  width: 3rem;
  height: 3rem;
  background-color: #F29EA5;
  color: #4A2B2F;
  border: none;
  border-radius: 1rem;
  font-size: 1.25rem;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 640px) {
  .search-submit-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
  }
}

.close-search-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-search-btn:hover {
  background-color: #F29EA5;
  color: #4A2B2F;
  transform: rotate(90deg);
}
@media (max-width: 640px) {
  .close-search-btn {
    top: 1rem;
    right: 1rem;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 1.25rem;
    background-color: #2F1B22;
    border-color: #F29EA5;
    z-index: 10002;
  }
}

.search-history-section {
  background-color: #2F1B22;
  border-radius: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  max-height: 60vh;
  overflow-y: auto;
}
@media (max-width: 640px) {
  .search-history-section {
    margin-right: 0;
  }
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: #9CA3AF;
  font-weight: 600;
  text-transform: uppercase;
}

.clear-history-btn {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 700;
}

.search-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-radius: 0.75rem;
  cursor: pointer;
  color: #D1D5DB;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.history-item:last-child {
  border-bottom: none;
}
.history-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #F29EA5;
}

.history-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.history-text i {
  color: #9CA3AF;
  font-size: 0.8rem;
}

.history-action {
  font-size: 0.75rem;
  color: #9CA3AF;
}

/*# sourceMappingURL=style.css.map */
