/**
 * Button Block Styles
 */

/* Main Button container */
.button {
  /* Add your styles here */
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="black"/></svg>')
      10 10,
    pointer;
  text-decoration: none;
  color: var(--text-color);
  font-size: var(--font-size-md);
  font-weight: 500;
  line-height: 1.2;
  transition: all 0.3s ease;
  padding: var(--spacing-sm) var(--spacing-md);
  width: 200px;
  min-width: 120px;
  max-width: 280px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.button:hover {
  transform: scale(1) translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.button:hover .button-icon-container {
  transform: translateX(4px);
}

.button-icon-container {
  background: #fff;
  border-radius: 5px;
  padding: 8px;
  transition: transform 0.2s ease;
}

/* Button Prop styles */
.button-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.button-secondary {
  background-color: var(--text-blue);
  color: var(--text-white);
}

.button-accent {
  background-color: var(--accent-color);
  color: var(--text-blue);
}

.button-transparent {
  border: 1px solid var(--text-blue);
  color: var(--text-blue);
  background-color: transparent;
}

.button-transparent-white {
  border: 1px solid var(--text-white);
  color: var(--text-white);
  background-color: transparent;
}

.button-no-border {
  border: none;
  color: var(--text-blue);
  background-color: transparent;
  transition: none;

  .button-icon-container {
    background-color: var(--accent-color);
    transition: transform 0.2s ease;
  }

  &:hover {
    background-color: transparent;
    color: var(--text-blue);
    transform: none;
    box-shadow: none;
  }
}

.button-icon-arrow-right {
  flex-direction: row;
}

.button-icon-arrow-left .button-icon {
  transform: rotate(180deg);
}

.button-icon svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.button:hover .button-icon svg {
  transform: translateX(2px);
}

.button-icon-arrow-left:hover .button-icon svg {
  transform: rotate(180deg) translateX(2px);
}

/* Responsive styles */
@media (width <= 1024px) {
  /* Add your styles here */
  .button {
    /* Add your styles here */
  }
}
@media (width <= 768px) {
  /* Add your styles here */
  .button {
    /* Add your styles here */
  }
}
@media (width <= 480px) {
  /* Add your styles here */
  .button {
    /* Add your styles here */
  }
}
