.btn {
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

/* Primary */
.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--hover-primary);
}

/* Secondary */
.btn-secondary {
    background: #6c757d;
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Success */
.btn-success {
    background: var(--green);
    color: var(--white);
}

.btn-success:hover {
    background: var(--hover-green);
}

/* Danger */
.btn-danger {
    background: var(--red);
    color: var(--white);
}

.btn-danger:hover {
    background: var(--hover-red);
}

/* OutLine */
.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Icons button */
.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
}

/* Full width */
.btn-block {
    width: 100%;
}

/* Disabled */
.btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* Base */
.btn-custom {
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-custom-primary {
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s ease;
  background: var(--primary);
  color: var(--white);
}

/* Hover */
.btn-custom:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: var(--white);
}

.btn-custom-success {
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s ease;
  background: var(--green);
  color: var(--white);
}

/* Hover */
.btn-custom-success:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: var(--white);
}

.btn-custom-return {
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s ease;
  background: var(--bg-return);
  color: var(--white);
}

/* Hover */
.btn-custom-return:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: var(--white);
}


.btn:disabled,
.btn-custom-primary:disabled,
.btn-custom-success:disabled {
    background: #e5e7eb !important;
    color: #9ca3af !important;
    opacity: 1 !important;
}
/* Tamaños */

/* Small */
.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  text-align: center;
}

/* Medium */
.btn-md {
  padding: 10px 18px;
  font-size: 14px;
  text-align: center;
}

/* Large */
.btn-lg {
  padding: 14px 26px;
  font-size: 18px;
  text-align: center;
}

/* Extra Large */
.btn-xl {
  padding: 18px 34px;
  font-size: 22px;
  text-align: center;
}

@media (max-width: 768px) {
    .btn-outline-primary {
        width: 100%;
    }

    .btn-custom-primary {
        width: 100%;
    }
}