@import "tailwindcss";
@plugin "daisyui";

:root {
  --color-primary: #3E6AE1;
  --secondary-color: #464649;
  --hover-color: #05560e;
}

/* Define font families with fallbacks */
body {
  font-family: "Gotham", "Proxima Nova", "DIN Next Pro", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
}

.accordion-container {
  max-width: 600px;
  margin: auto;
  padding: 20px;
}

.accordion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
  background: none;
  border: none;
  outline: none;
  font-size: 1.2rem;
  width: 100%;
  text-align: left;
  font-weight: 600;
  border-bottom-width: 1px;
  width: 100%;
  text-align: left;
  padding-top: 1.25rem /* 20px */;
  padding-bottom: 1.25rem /* 20px */;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary); /* This will color the stroke */
  transition: transform 0.2s ease;
  display: inline-block;
}

/* Default "+" icon */
.accordion-icon.plus {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"%3E%3Cpath stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15" /%3E%3C/svg%3E');
}

/* Active "-" icon */
.accordion-icon.minus {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"%3E%3Cpath stroke-linecap="round" stroke-linejoin="round" d="M5 12h14" /%3E%3C/svg%3E');
}

.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 15px;
  color: #555;
}

.panel p {
  margin: 0;
  padding: 10px 0;
}

hr {
  margin: 0;
  border: none;
  border-top: 1px solid #ddd;
}