* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

:root[data-theme="light"] {
  --bg-gradient-1: #fff5fa;
  --bg-gradient-2: #ffe3f3;
  --header-gradient-1: #f5a9d0;
  --header-gradient-2: #c77fb8;
  --card-bg: rgba(255, 255, 255, 0.6);
  --badge-bg: rgba(255, 255, 255, 0.6);
  --card-bg-hover: rgba(255, 255, 255, 0.85);
  --text-color: black;
  --text-secondary: rgba(217, 70, 166, 0.75);
  --border-color: rgba(245, 169, 208, 0.35);
  --shadow: rgba(199, 127, 184, 0.2);
  --modal-bg-1: #ffeaf5;
  --modal-bg-2: #ffd0ea;
  --section-bg: #f5a9d0;
  --id-section-bg: #fff5fa;
  --card-header: #e88dc3;
  --info-section-bg: #f5a9d0;
  --input-bg: rgba(255, 255, 255, 0.95);
  --overlay-bg: rgba(217, 70, 166, 0.75);
  --resist-weak: rgb(0, 156, 0);

  --primary-color: #f5a9d0;
  --accent-color: #686868;
  --secondary-color: black;
  --primary-text-color: black;

  --grass: #78c850;
  --fire: #f08030;
  --water: #6890f0;
  --bug: #a8b820;
  --normal: #a8a878;
  --poison: #a040a0;
  --electric: #f8d030;
  --ground: #e0c068;
  --fairy: #ee99ac;
  --fighting: #c03028;
  --psychic: #f85888;
  --rock: #b8a038;
  --ghost: #705898;
  --ice: #98d8d8;
  --dragon: #7038f8;
  --dark: #705848;
  --steel: #b8b8d0;
  --flying: #a890f0;
}

:root[data-theme="dark"] {
  --bg-gradient-1: #1a0d16;
  --bg-gradient-2: #2d1626;
  --header-gradient-1: #4a2840;
  --header-gradient-2: #331d2e;
  --card-bg: rgba(45, 22, 38, 0.7);
  --badge-bg: rgba(74, 40, 64, 0.6);
  --card-bg-hover: rgba(58, 30, 50, 0.9);
  --text-color: #f5e6f0;
  --text-secondary: rgba(245, 169, 208, 0.85);
  --border-color: rgba(245, 169, 208, 0.25);
  --shadow: rgba(0, 0, 0, 0.4);
  --modal-bg-1: #2d1626;
  --modal-bg-2: #1a0d16;
  --section-bg: #4a2840;
  --id-section-bg: #2d1626;
  --card-header: #5a3850;
  --info-section-bg: #4a2840;
  --input-bg: rgba(45, 22, 38, 0.95);
  --overlay-bg: rgba(74, 40, 64, 0.85); 
  --resist-weak: rgb(0, 206, 0);

  --primary-color: #b83c7c;
  --accent-color: #e88dc3;
  --secondary-color: #f5e6f0;
  --primary-text-color: #f5e6f0;

  --grass: #78c850;
  --fire: #f08030;
  --water: #6890f0;
  --bug: #a8b820;
  --normal: #a8a878;
  --poison: #a040a0;
  --electric: #f8d030;
  --ground: #e0c068;
  --fairy: #ee99ac;
  --fighting: #c03028;
  --psychic: #f85888;
  --rock: #b8a038;
  --ghost: #705898;
  --ice: #98d8d8;
  --dragon: #7038f8;
  --dark: #705848;
  --steel: #b8b8d0;
  --flying: #a890f0;
}

main {
  padding: 40px 0;
}

body {
  font-family: "Roboto", sans-serif;
  background: linear-gradient(
    135deg,
    var(--bg-gradient-1) 0%,
    var(--bg-gradient-2) 100%
  );
  min-height: 100vh;
  color: var(--text-color);
}

.container {
  max-width: 1200px;
  margin: 0px auto;
  padding: 0 20px;
}

header {
  background: linear-gradient(
    to right,
    var(--header-gradient-1) 0%,
    var(--header-gradient-2) 100%
  );
  padding: 20px 0;
  box-shadow: 0 4px 12px var(--shadow);
  top: 0;
  position: sticky;
  z-index: 1000;
}

.header-content {
  display: flex;
  position: relative;
  flex-direction: column;
  height: fit-content;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.logo {
  display: flex;
  align-items: center;

  margin-bottom: 10px;
}

.logo i {
  margin-right: 30px;
  font-size: 2.5rem;
  color: var(--primary-color);
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 1));
}

.logo h1 {
  letter-spacing: 4px;
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--primary-text-color);
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 1));
}

.tagline {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 20px;
  color: var(--primary-text-color);
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

.search-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.search-box {
  display: flex;
  background: var(--input-bg);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow);
}

.search-box input {
  flex: 1;
  border: none;
  padding: 18px 25px;
  font-size: 1.1rem;
  outline: none;
  background: transparent;
  color: var(--text-color);
}

.search-box button {
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  background: var(--primary-color);
  color: var(--text-color);
  border: none;
  padding: 0 30px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  letter-spacing: 2px;
}

.search-box button::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.search-box button:hover {
  color: var(--primary-text-color);
}

.theme-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  color: var(--text-color);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow);
}
.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px var(--shadow);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-section {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.filter-label {
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-color);
}

.type-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gen-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.gen-btn {
  padding: 8px 16px;
  border: 2px solid transparent;
  border-radius: 20px;
  background: var(--badge-bg);
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.gen-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
  background: var(--card-bg-hover);
}

.gen-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.gen-btn:active {
  transform: translateY(0);
}

.type-btn {
  padding: 8px 16px;
  border: 2px solid transparent;
  border-radius: 20px;
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.type-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

.type-btn.active {
  color: white;
  border-color: black;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px) scale(1.05);
}

.results-info {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 30px;
  padding: 15px;
  background: var(--card-bg);
  color: var(--text-color);
  border-radius: 10px;
}

.pokemon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.pokemon-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  color: var(--text-color);
}

.pokemon-id-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gen-badge {
  background: var(--id-section-bg);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 15px;
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.modal-types {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  justify-content: center;
}

.type-badge {
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  margin-left: 1rem;
}

.pokemon-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow);
}

.pokemon-card-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--section-bg);
  border-bottom: 1px solid var(--border-color);
}

.favorite-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: #ddd;
  transition: all 0.3s ease;
  padding: 5px;
  z-index: 10;
}

.favorite-btn:hover {
  transform: scale(1.2);
  color: #ff6b6b;
}

.favorite-btn.active {
  color: #ff6b6b;
  animation: heartBeat 0.3s ease;
}

.favorite-btn.active i{
  color: #ff6b6b;
  transform: scale(1.2);
  transition: 0.2s ease;
}

@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

.pokemon-id {
  background: var(--id-section-bg);
  color: var(--text-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 500;
}

.pokemon-name {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--text-color);
}

.pokemon-image {
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.shiny-toggle {
  margin-left: 4px;
  margin-bottom: 5px;
  background: rgba(255, 215, 0, 0.2);
  border: 2px solid rgba(255, 215, 0, 0.5);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shiny-toggle:hover {
  background: rgba(255, 215, 0, 0.4);
  transform: scale(1.1) rotate(20deg);
  border-color: rgba(255, 215, 0, 0.8);
}

.shiny-toggle.active {
  background: rgba(255, 140, 0, 0.4);
  border-color: rgba(255, 140, 0, 0.8);
  animation: sparkle 1s infinite;
}

@keyframes sparkle {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 1);
  }
}

.shiny-toggle-modal {
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #181818, #ffed4e);
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 1.2rem;
}

.shiny-toggle-modal:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

.shiny-toggle-modal.active {
  background: linear-gradient(135deg, #ff8c00, #ffa500);
  padding: 8px 16px;
}

.pokemon-image img {
  height: 100%;
  filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.5));
  transition: all 0.3s ease;
}

.pokemon-card:hover .shiny-toggle .pokemon-image img {
  transform: scale(1.1);
  opacity: 1;
}

.pokemon-stats {
  padding: 15px 20px;
  background: var(--section-bg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat {
  text-align: center;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 5px;
}

.stat-value {
  font-weight: 600;
  font-size: 1.1rem;
}

.card {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-bg);
  z-index: 2000;
  overflow-y: auto;
  padding: 20px;
}

.card.active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.card-content {
  background: linear-gradient(
    135deg,
    var(--modal-bg-1) 0%,
    var(--modal-bg-2) 100%
  );
  width: 100%;
  max-width: 900px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px var(--shadow);
  position: relative;
  margin-top: 40px;
  margin-bottom: 40px;
}

.modal-header {
  padding: 25px 30px;
  background: var(--card-header);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.modal-actions{
  display: flex;
  gap: 12px;
  justify-content: space-between;
}


.card-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.2rem;
  text-transform: capitalize;
  color: var(--text-color);
}

.card-id {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.close-card {
  background: var(--secondary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.close-card:hover {
  background: #ff3835;
  transform: rotate(90deg);
}

.card-body {
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.card-image-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-image {
  width: 100%;
  max-width: 300px;
  margin-bottom: 20px;
}

.card-image img {
  width: 100%;
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5));
}

.card-info-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-section {
  background: var(--info-section-bg);
  border-radius: 15px;
  padding: 20px;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title i {
  font-size: 1.2rem;
}

.basic-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.stat-name {
  font-weight: 500;
  text-transform: capitalize;
  color: var(--text-color);
}

.stat-value-card {
  font-weight: 600;
  color: var(--text-color);
}

.effectiveness-grid{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.effect-row{
  display: flex;
  align-items: center;
  gap: 12px;
}

.effect-label{
  min-width: 70px;
  font-weight: 600;
}

.effect-row.weak    .effect-label { color:#ff6b6b; }
.effect-row.resist  .effect-label {color: var(--resist-weak)}
.effect-row.immune  .effect-label { color:#868e96; }

.effect-types{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;

  
}

.abilities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ability {
  background: var(--card-bg);
  color: var(--text-color);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  text-transform: capitalize;
}

.hidden-ability {
  background: rgba(255, 203, 5, 0.2);
  border: 1px solid var(--accent-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.stat-bar-container {
  width: 60%;
  height: 10px;
  background: var(--card-bg);
  border-radius: 5px;
  overflow: hidden;
}

.stat-bar {
  height: 100%;
  border-radius: 5px;
}

.moves-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 10px;
}

.move {
  background: var(--card-bg);
  color: var(--text-color);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  text-transform: capitalize;
}

.move-level {
  font-weight: 900;
  color: goldenrod;
  margin-right: 5px;
}

.evolution-chain {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.evolution-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.evolution-item:hover {
  transform: translateY(-5px);
}

.evolution-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--card-bg);
  margin-bottom: 10px;
}

.evolution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.evolution-name {
  color: var(--text-color);
  font-weight: 500;
  text-transform: capitalize;
}

.evolution-arrow {
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.loading {
  text-align: center;
  padding: 40px;
  font-size: 1.5rem;
  display: none;
}

.loading.active {
  display: block;
}

.loading i {
  color: var(--secondary-color);
  margin-right: 10px;
}

.error {
  text-align: center;
  padding: 40px;
  background: rgba(255, 0, 0, 0.1);
  border-radius: 10px;
  margin: 20px 0;
  display: none;
}

.error.active {
  display: block;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.page-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-btn:hover:not(:disabled) {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-info {
  font-size: 1.1rem;
}


.quiz-float-btn {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    border: none;
    border-radius: 50% 0 0 50%;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s, transform 0.3s;
}

.quiz-float-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.quiz-float-btn i {
    font-size: 1.5rem;
}

/* Overlay */
.quiz-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100%;
    background: linear-gradient(
    135deg,
    var(--bg-gradient-1) 0%,
    var(--bg-gradient-2) 100%
  );
    color: var(--text-color);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.5);
    transition: right 0.5s ease;
}

/* När overlay är aktiv */
.quiz-overlay.active {
    right: 0;
}

.quiz-container {
    width: 100%;
    text-align: center;
}

.quiz-img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: brightness(0) contrast(1) invert(0.9); /* Silhouette */
    transition: filter 0s ease;
}

.quiz-img.revealed {
    filter: none;
}

.quiz-options button {
    margin: 5px;
    padding: 10px 15px;
    font-size: 1rem;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.quiz-options button.correct {
    background-color: #4caf50;
    border-color: #4caf50;
}

.quiz-options button.wrong {
    background-color: #f44336;
    border-color: #f44336;
}

.quiz-next {
    margin-top: 15px;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1rem;
    background: linear-gradient(135deg, #181818, #ffed4e);
    border: none;
    font-weight: bold;
}

.quiz-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
}

.quiz-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 1rem;
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 30px 0;
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .type-filter {
    justify-content: center;
  }

  .pokemon-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .logo h1 {
    font-size: 2.2rem;
  }

  .card-body {
    grid-template-columns: 1fr;
  }

  .card-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .pokemon-name{
    font-size: 1.2rem;
  }

  .gen-badge {
    font-size: 14px;
  }

  .search{
    font-size: 1.4rem;
  }

  .modal-actions{
    display: flex;
    gap: 50px;
    justify-content: space-between;
  }

  .modal-actions {
  & .favorite-btn {
    font-size: 3rem;
  }
}

  .close-card{
    width: 60px;
    height: 60px;
  }
}



@media (max-width: 768px) {
  .controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .type-filter {
    justify-content: center;
  }

  .pokemon-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .logo h1 {
    font-size: 2.2rem;
  }

  .card-body {
    grid-template-columns: 1fr;
  }

  .card-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

   .search{
    font-size: 1.2rem;
  }
}

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

  .logo h1 {
    font-size: 2rem;
    margin-right: 3rem;
  }

  .search-box input {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .card-content {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .card-body {
    padding: 20px;
  }

  .search{
    font-size: 1rem;
  }

   .modal-actions{
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-left: 30px;
  }

  .modal-actions {
  & .favorite-btn {
    font-size: 2rem;
  }
}

.close-card{
    width: 40px;
    height: 40px;
  }

}
