/* ===== BACKGROUND COLORS ===== */
.bg-primary {
  background-color: var(--primary-color) !important;
}
.bg-secondary {
  background-color: var(--secondary-color) !important;
}

/* ===== TEXT COLORS ===== */
.text-primary {
  color: var(--primary-color) !important;
}
.text-secondary {
  color: var(--secondary-color) !important;
}

/* ===== BORDER COLORS ===== */
.border-primary {
  border-color: var(--primary-color) !important;
}
.border-secondary {
  border-color: var(--secondary-color) !important;
}

/* ===== HOVER STATES ===== */
.hover\:bg-primary:hover {
  background-color: var(--primary-color) !important;
}
.hover\:bg-secondary:hover {
  background-color: var(--secondary-color) !important;
}

.hover\:text-primary:hover {
  color: var(--primary-color) !important;
}
.hover\:text-secondary:hover {
  color: var(--secondary-color) !important;
}

.hover\:border-primary:hover {
  border-color: var(--primary-color) !important;
}
.hover\:border-secondary:hover {
  border-color: var(--secondary-color) !important;
}

/* ===== BUTTON STYLES ===== */
.btn-primary-custom {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: #fff;
}
.btn-primary-custom:hover {
  background-color: #fff;
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-secondary-custom {
  background-color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  color: #fff;
}
.btn-secondary-custom:hover {
  background-color: #fff;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* ===== GRADIENTS ===== */
.bg-gradient-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  ) !important;
}
.bg-gradient-secondary {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  ) !important;
}

/* ===== SHADOWS ===== */
.shadow-primary {
  box-shadow: 0 4px 10px rgba(157, 59, 51, 0.4) !important;
}
.shadow-secondary {
  box-shadow: 0 4px 10px rgba(0, 35, 74, 0.4) !important;
}

/* ===== OUTLINE (Focus) ===== */
.outline-primary:focus {
  outline: 2px solid var(--primary-color) !important;
  outline-offset: 2px;
}
.outline-secondary:focus {
  outline: 2px solid var(--secondary-color) !important;
  outline-offset: 2px;
}

/* ===== UTILITIES ===== */
.fill-primary {
  fill: var(--primary-color) !important;
}
.fill-secondary {
  fill: var(--secondary-color) !important;
}
.stroke-primary {
  stroke: var(--primary-color) !important;
}
.stroke-secondary {
  stroke: var(--secondary-color) !important;
}

.line_clamp_1,
.line_clamp_2,
.line_clamp_3,
.line_clamp_4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line_clamp_1 {
  -webkit-line-clamp: 1;
  line-clamp: 1;
}
.line_clamp_2 {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.line_clamp_3 {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.line_clamp_4 {
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

/* ===== Vertical spacing like space-y-* ===== */
.space-y-0 > * + * {
  margin-top: 0 !important;
}
.space-y-1 > * + * {
  margin-top: 0.25rem !important;
}
.space-y-2 > * + * {
  margin-top: 0.5rem !important;
}
.space-y-3 > * + * {
  margin-top: 1rem !important;
}
.space-y-4 > * + * {
  margin-top: 1.5rem !important;
}
.space-y-5 > * + * {
  margin-top: 2rem !important;
}
.space-y-6 > * + * {
  margin-top: 2.5rem !important;
}
.space-y-8 > * + * {
  margin-top: 3rem !important;
}

/* ===== Horizontal spacing like space-x-* ===== */
.space-x-0 > * + * {
  margin-left: 0 !important;
}
.space-x-1 > * + * {
  margin-left: 0.25rem !important;
}
.space-x-2 > * + * {
  margin-left: 0.5rem !important;
}
.space-x-3 > * + * {
  margin-left: 1rem !important;
}
.space-x-4 > * + * {
  margin-left: 1.5rem !important;
}
.space-x-5 > * + * {
  margin-left: 2rem !important;
}
.space-x-6 > * + * {
  margin-left: 2.5rem !important;
}
.space-x-8 > * + * {
  margin-left: 3rem !important;
}

/* ===== List ===== */
.list_check > li {
  position: relative;
  padding-inline-start: 2rem;
}
.list_check > li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);

  color: var(--primary-color);

  display: inline-block;
  width: 24px;
  height: 24px;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-width='1.5'%3E%3Cpath stroke-linejoin='round' d='m8.5 12.5l2 2l5-5'/%3E%3Cpath d='M7 3.338A9.95 9.95 0 0 1 12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12c0-1.821.487-3.53 1.338-5'/%3E%3C/g%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
